Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

axes_grid demo broken #1572

Closed
dopplershift opened this Issue · 3 comments

4 participants

@dopplershift
Collaborator

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.

@pwuertz pwuertz was assigned
@pwuertz pwuertz referenced this issue from a commit in pwuertz/matplotlib
@pwuertz pwuertz fix issue #1572 caused by PR #1081 44bd697
@jenshnielsen
Owner

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
Collaborator

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

@pelson
Collaborator

Closed by #1573.

@pelson pelson closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.