[Matplotlib-users] custom navigation toolbar

2009-06-04 Thread Guâno
Hello all I'm trying to add a custom button in the navigation toolbar for a wx app. so far, I can add the button, but can't get it to work. here is a snippet of the code (the classes are in the same file): #custom matplotlib navigation toolbar #from:

[Matplotlib-users] Problem with Arcs

2009-05-18 Thread Guâno
Hello all I'm having some troubles with Arcs in MPL. Using the following code: circ = Arc( (0,0), width=2, height=2, angle=0.0, theta1=0.0, theta2=360.0, ec=None, fc=None) axes.add_patch(circ) gives: Traceback (most recent call last): File pystereo22.py, line 524, in

Re: [Matplotlib-users] Problem with Arcs

2009-05-18 Thread Guâno
it performs various optimizations, it   can not be filled. If you want to draw a filled, yet partial, circle, I believe you want to use Wedge. Cheers, Mike Carlos Guâno Grohmann wrote: Hello all I'm having some troubles with Arcs in MPL. Using the following code:            circ = Arc

Re: [Matplotlib-users] Problem with Arcs

2009-05-18 Thread Guâno
Well.. that worked. I didn't tried at first because the docs says it can't be filled... cheers 2009/5/18 Roban Hultman Kramer ro...@astro.columbia.edu: Have you tried specifying a value for fill? 2009/5/18 Carlos Guâno Grohmann carlos.grohm...@gmail.com: Hello all I'm having some

[Matplotlib-users] plot change position in wxpython when redraw

2009-04-22 Thread Guâno
Dear list fellows, I am writing an app focused in structural geology, using wxpython and matplotlib. To be quite honest, I'm not sure if this question should go here or in the wxpython list (so to avoid cross-posting, I'll try here first). The app uses matplotlib to plot data from orientation

[Matplotlib-users] problem with polar plots and thetagrids

2009-04-20 Thread Guâno
Dears, I'm trying to change the labels of a polar plot I have inside a wxpython app, but keep getting errors... this is a snippet of the code: #class for the second page of the notebook class PlotPanel(wx.Panel): def __init__(self, parent): wx.Panel.__init__(self, parent)