forked from matplotlib/matplotlib
/
README.wx
21 lines (15 loc) · 821 Bytes
/
README.wx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
You have a few different options available to you for embedding
matplotlib in a wxPython application
1. Embed one of the wxPython backend widgets (which subclass wx.Panel)
directly and draw plots on it using matplotlib's object-oriented
API. This approach is demonstrated by some of the examples
embedding_in_wx*.py
2. Embed the PlotPanel from Matt Newville's `MPlot' package and draw
plots on it using its plot() and oplot() methods.
http://cars9.uchicago.edu/~newville/Python/MPlot/
3. Embed the PlotPanel from Ken McIvor wxmpl module and draw plots on
it using the matplotlib's object-oriented API.
http://agni.phys.iit.edu/~kmcivor/wxmpl/
Each of these approachs has different benefits and drawbacks, so I
encourage you to evaluate each of them and select the one that best
meets your needs.