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')
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
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
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
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
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