Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Plot a million points in Matplotlib

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

About

The raster_axes file defines a RasterAxes class that inherits from Axes, and adds a rasterized_scatter method that can plot millions of points. This version is preliminary, and ideally this will in future support all the options that scatter does, including symbols, alpha, etc. Contributions via pull requests are welcome!

Example

The file example.py contains a demonstration of the RasterAxes class. To run, launch ipython:

$ ipython -pylab

Then type:

In [1]: execfile('example.py')

You can then pan and zoom as normal in the interactive Matplotlib window.

Something went wrong with that request. Please try again.