yt-project / yt

Main yt repository
http://yt-project.org
Other
461 stars 276 forks source link

Subclass AxesImage for pixelization routines #1911

Open matthewturk opened 6 years ago

matthewturk commented 6 years ago

We could improve greatly our integration with matplotlib by subclassing AxesImage and directly using the pixelization routines to generate the final bitmap, rather than manually watching for event changes. This would (for free?) get us a considerable number of additional improvements, including improvements to support and interoperability with artists in matplotlib and the like.

ngoldbaum commented 6 years ago

See https://github.com/bokeh/datashader/pull/200 for inspiration.