Hi there,
I'm using matplotlib version 0.98.3 and I'm switching the scale
between linear and log in my application.
This worked with matplotlib 0.91.3.
I get the following error:
embedding_in_gtk2.py (929 Bytes)
···
-------------
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/backend_gtk.py", line 333, in expose_event
self._render_figure(self._pixmap, w, h)
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/backend_gtk.py", line 321, in _render_figure
self.figure.draw (self._renderer)
File "/usr/lib64/python2.5/site-packages/matplotlib/figure.py", line 759, in draw
for a in self.axes: a.draw(renderer)
File "/usr/lib64/python2.5/site-packages/matplotlib/axes.py", line 1523, in draw
a.draw(renderer)
File "/usr/lib64/python2.5/site-packages/matplotlib/axis.py", line 718, in draw
tick.draw(renderer)
File "/usr/lib64/python2.5/site-packages/matplotlib/axis.py", line 193, in draw
self.label1.draw(renderer)
File "/usr/lib64/python2.5/site-packages/matplotlib/text.py", line 771, in draw
Text.draw(self, renderer)
File "/usr/lib64/python2.5/site-packages/matplotlib/text.py", line 329, in draw
ismath=self.is_math_text(line))
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/backend_gdk.py", line 150, in draw_text
self._draw_mathtext(gc, x, y, s, prop, angle)
File "/usr/lib64/python2.5/site-packages/matplotlib/backends/backend_gdk.py", line 195, in _draw_mathtext
array[:,:,3]=Xs
ValueError: shape mismatch: objects cannot be broadcast to a single shape
--------------
I've attached a modified example file to reproduce the error.
Any clue what's wrong with set_xscale('log'), set_yscale('log')
Regards
Werner