Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Gridspec example in documentation doesn't run #950

Closed
@pelson

Description

@pelson

The following documentation example doesn't run on master (nor on v1.1.0).

This example is refereed to in the user guide: http://matplotlib.sourceforge.net/users/gridspec.html#a-complex-nested-gridspec-using-subplotspec

$ python doc/users/plotting/examples/demo_gridspec06.py 
Traceback (most recent call last):
  File "doc/users/plotting/examples/demo_gridspec06.py", line 35, in <module>
    f.add_subplot(ax)
  File "matplotlib/lib/matplotlib/figure.py", line 817, in add_subplot
    self._axstack.add(key, a)
  File "lib/matplotlib/figure.py", line 112, in add
    Stack.remove(self, (key, a_existing))
  File "lib/matplotlib/cbook.py", line 1261, in remove
    raise ValueError('Unknown element o')
ValueError: Unknown element o

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions