Skip to content

axes_grid demo broken #1572

Closed
Closed

Description

@dopplershift

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.

Activity

  1. ghost assigned on Dec 7, 2012
  2. jenshnielsen commented on Dec 7, 2012

    @jenshnielsen
    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.

  3. pwuertz commented on Dec 7, 2012

    @pwuertz
    Contributor

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

  4. added a commit that references this issue on Dec 10, 2012
  5. pelson commented on Dec 12, 2012

    @pelson
    Member

    Closed by #1573.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions