[Matplotlib-users] legend markerscale not working

2008-11-10 Thread Orest Kozyar
On Ubuntu 8.10 (Intrepid Ibex) I'm using matplotlib 0.98.3 and would like to use the markerscale to make my legend points smaller (e.g. 0.6). However, it does not appear to be working. The following code: plot(arange(0, 100, .1), cos(arange(0, 100, .1)), 'ro', markersize=20, lable='test')

[Matplotlib-users] inconsistency with minor ticks when configuring ticks from scratch

2008-07-31 Thread Orest Kozyar
The following illustrates a slight inconsistency in matplotlib: a = subplot(111) a.yaxis.tick_left() yscale('log') show() Since the default linear minor locator is NullLocator, there are no minor ticks to use as a template when the default logarithmic minor locator is used. This results in the

[Matplotlib-users] AssertionError in symlog_demo.py

2008-07-01 Thread Orest Kozyar
When I try to run symlog_demo.py in version 98.1, I get the following AssertionError. Should __call__ of the SymmetricalLogLocator be calling transform on vmin and vmax separately? Any advice? Thanks, Orest $ python symlog_demo.py

[Matplotlib-users] Error with 'symlog' when vmin=0

2008-07-01 Thread Orest Kozyar
The following code fails with a math range error: from pylab import * plot(arange(5), 'ro') xscale('symlog') The traceback indicates that the ticker is attempting to treat vmin (which falls inside the linear portion of the SymLog scale) as a log value, which obviously fails when vmin=0. If vmin

Re: [Matplotlib-users] Rendering of fonts in plots does not honor user-specified parameters

2007-12-16 Thread Orest Kozyar
Not sure if this is your issue but I had problems with fonts until I uncommented the RC file in the fonts section of it. Matplotlib ships with the RC commented out. The file matplotlibrc is found in the matplotlib\mpl-data folder. You can just edit it with Notepad and uncomment the lines

[Matplotlib-users] Capturing keydown events

2007-09-19 Thread Orest Kozyar
I'm embedding a FigureCanvasWxAgg into a wx.Panel and binding key events to it: class MyPanel(wx.Panel) def __init__(self, parent, file, id=-1): wx.Panel.__init__(self, parent, style=wx.WANTS_CHARS | wx.NO_FULL_REPAINT_ON_RESIZE) #Set up the canvas