Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

axes_grid demo broken #1572

Closed
dopplershift opened this issue Dec 7, 2012 · 3 comments
Closed

axes_grid demo broken #1572

dopplershift opened this issue Dec 7, 2012 · 3 comments
Assignees

Comments

@dopplershift
Copy link
Contributor

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.

@jenshnielsen
Copy link
Member

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
Copy link
Contributor

pwuertz commented Dec 7, 2012

Right. Ideally such an error should show up in the test runs.

pwuertz added a commit that referenced this issue Dec 10, 2012
@pelson
Copy link
Member

pelson commented Dec 12, 2012

Closed by #1573.

@pelson pelson closed this as completed Dec 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants