Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Description
Axes created viampl_toolkits.axes_grid1.host_subplot(...).twin()
(ortwinx()
,twiny()
) can not be removed via theirremove()
method. Non-mpl_toolkit
twin axes can be removed; this is specific tompl_toolkit
.
Example:
frommpl_toolkits.axes_grid1importhost_subploth=host_subplot(111)t=h.twin()t.remove()
raisesNotImplementedError: cannot remove artist
.
Is there a way around this that I'm missing? I'm using axes_grid1'stwin()
to interactively create axes with user-defined transforms and want to be able to destroy them as well, of course. Alternatively, it would suffice for me to be able to change the transform (given initially viatwin(aux_transform)
), but even that seems not possible.
matplotlib version: 1.5.dev1, at commit2c95107db6c09d42336a8ce901ea57ccae34f3ca
Python version: 3.4.2