Repository navigation
Closed
Description
axes_grid/demo_axes_grid2.py no longer runs. Traceback:
Traceback (most recent call last):
File "demo_axes_grid2.py", line 112, in <module>
plt.draw()
File "/home/rmay/.local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 467, in draw
get_current_fig_manager().canvas.draw()
File "/home/rmay/.local/lib/python2.7/site-packages/matplotlib/backends/backend_qt4agg.py", line 148, in draw
FigureCanvasAgg.draw(self)
File "/home/rmay/.local/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 439, in draw
self.figure.draw(self.renderer)
File "/home/rmay/.local/lib/python2.7/site-packages/matplotlib/artist.py", line 54, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/home/rmay/.local/lib/python2.7/site-packages/matplotlib/figure.py", line 999, in draw
func(*args)
File "/home/rmay/.local/lib/python2.7/site-packages/mpl_toolkits/axes_grid1/axes_divider.py", line 892, in draw
self._axes_class.draw(self, renderer, inframe)
File "/home/rmay/.local/lib/python2.7/site-packages/matplotlib/artist.py", line 54, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/home/rmay/.local/lib/python2.7/site-packages/matplotlib/axes.py", line 2093, in draw
a.draw(renderer)
File "/home/rmay/.local/lib/python2.7/site-packages/matplotlib/offsetbox.py", line 1055, in draw
self.get_child().draw(renderer)
File "/home/rmay/.local/lib/python2.7/site-packages/matplotlib/offsetbox.py", line 753, in draw
self._text.draw(renderer)
File "/home/rmay/.local/lib/python2.7/site-packages/matplotlib/artist.py", line 54, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/home/rmay/.local/lib/python2.7/site-packages/matplotlib/text.py", line 608, in draw
ismath=ismath, mtext=self)
TypeError: draw_text() got an unexpected keyword argument 'mtext'
I'm going out on a limb, but this seems relevant 347c408.
Metadata
Metadata
Assignees
Labels
No labels
Activity
jenshnielsen commentedon Dec 7, 2012
Sorry to hijack this thread but shouldn’t this be a good case for adding tests to the toolkits. I stated the work
in #1422 but it has not been merged jet.
pwuertz commentedon Dec 7, 2012
Right. Ideally such an error should show up in the test runs.
Merge pull request #1573 from pwuertz/fix_1572
pelson commentedon Dec 12, 2012
Closed by #1573.