Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[mpl_toolkits.axes_grid1] Can't remove host axes' twin axes #4896

Closed
@smheidrich

Description

@smheidrich

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp