https://github.com/tkf/mplchaco
Matplotlib to Chaco converter
https://github.com/tkf/mplchaco
Last synced: 7 months ago
JSON representation
Matplotlib to Chaco converter
- Host: GitHub
- URL: https://github.com/tkf/mplchaco
- Owner: tkf
- Created: 2012-07-08T22:26:24.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-07-09T22:26:18.000Z (over 13 years ago)
- Last Synced: 2024-10-19T17:46:29.785Z (about 1 year ago)
- Language: Python
- Size: 656 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
================================
Matplotlib to Chaco converter.
================================
Usage::
from mplchaco import mpl2chaco
mpl2chaco(fig).configure_traits()
Note that when using from IPython, make sure execute ``%gui wx``
**before** importing `mplchaco`. Otherwise, opening Chaco window
blocks IPython.
See `demo `_.
Why?
====
IPython's inline plot in Qt console and Notebook frontend is great,
but it does not support interactive stuff such as zooming, so you
would like to change Matplotlib backend to something that support GUI.
However, Matplotlib does not support changing GUI.
This Python module converts Matplotlib figure into Chaco figure so
that you can have inline plot in IPython and also GUI frontend to play
with data!