Skip to content

Docs: Axes.inset_rectangle is referred to but does not exist #14275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
clbarnes opened this issue May 20, 2019 · 2 comments
Closed

Docs: Axes.inset_rectangle is referred to but does not exist #14275

clbarnes opened this issue May 20, 2019 · 2 comments
Milestone

Comments

@clbarnes
Copy link
Contributor

The documentation page for Axes.indicate_inset_zoom explains the method's kwargs by referring to another method, Axes.inset_rectangle. However, this method does not exist in matplotlib 3.0.x or 3.1.x, and no documentation page can be found by the page search.

@clbarnes clbarnes changed the title Docs: Docs: Axes.inset_rectangle is referenced by does not exist May 20, 2019
@clbarnes clbarnes changed the title Docs: Axes.inset_rectangle is referenced by does not exist Docs: Axes.inset_rectangle is referred to but does not exist May 20, 2019
@clbarnes
Copy link
Contributor Author

Additionally, in the docs for Axes.indicate_inset_zoom the return value connector_lines claims to be a 4-tuple, but is actually a list.

clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 20, 2019
1. Method docstring stated that they output a tuple when it was a list;
now fixed
2. Docstring for indicate_inset_zoom referred to nonexistent method
Axes.inset_rectangle; now correctly refers to Axes.indicate_inset.
3. Fixed possible bug where depending on inputs, one of the return vars
may not have been defined.

See issue matplotlib#14275
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 20, 2019
1. Method docstring stated that they output a tuple when it was a list;
now fixed
2. Docstring for indicate_inset_zoom referred to nonexistent method
Axes.inset_rectangle; now correctly refers to Axes.indicate_inset.
3. Fixed possible bug where depending on inputs, one of the return vars
may not have been defined.

See issue matplotlib#14275
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 20, 2019
See matplotlib#14275

inset_ax argument is meant to be optional, but currently fails if not
given.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 20, 2019
1. Method docstring stated that they output a tuple when it was a list;
now fixed
2. Docstring for indicate_inset_zoom referred to nonexistent method
Axes.inset_rectangle; now correctly refers to Axes.indicate_inset.
3. Fixed possible bug where depending on inputs, one of the return vars
may not have been defined.

See issue matplotlib#14275
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 20, 2019
1. Method docstring stated that they output a tuple when it was a list;
now fixed
2. Docstring for indicate_inset_zoom referred to nonexistent method
Axes.inset_rectangle; now correctly refers to Axes.indicate_inset.
3. Fixed possible bug where depending on inputs, one of the return vars
may not have been defined.

See issue matplotlib#14275
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 20, 2019
See matplotlib#14275

inset_ax argument is meant to be optional, but currently fails if not
given.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 20, 2019
1. Method docstring stated that they output a tuple when it was a list;
now fixed
2. Docstring for indicate_inset_zoom referred to nonexistent method
Axes.inset_rectangle; now correctly refers to Axes.indicate_inset.

See issue matplotlib#14275
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 20, 2019
See matplotlib#14275.

inset_ax argument should be optional, but was failing because it tried
to return a variable which was not defined. This is now fixed.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 20, 2019
1. Method docstring stated that they output a tuple when it was a list;
now fixed
2. Docstring for indicate_inset_zoom referred to nonexistent method
Axes.inset_rectangle; now correctly refers to Axes.indicate_inset.

See issue matplotlib#14275
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 20, 2019
See matplotlib#14275

inset_ax argument is meant to be optional, but currently fails if not
given.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 20, 2019
See matplotlib#14275.

inset_ax argument should be optional, but was failing because it tried
to return a variable which was not defined. This is now fixed.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 21, 2019
See matplotlib#14275

inset_ax argument is meant to be optional, but currently fails if not
given.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 21, 2019
See matplotlib#14275

1. Methods now return a tuple as documented, instead of a list.
2. indicate_inset() now does not error when optional inset_ax is not
passed, but returns None instead of a tuple.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 21, 2019
See matplotlib#14275

inset_ax argument is meant to be optional, but currently fails if not
given.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue May 21, 2019
See matplotlib#14275

1. Methods now return a tuple as documented, instead of a list.
2. indicate_inset() now does not error when optional inset_ax is not
passed, but returns None instead of a tuple.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue Jun 11, 2019
See matplotlib#14275

inset_ax argument is meant to be optional, but currently fails if not
given.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue Jun 11, 2019
See matplotlib#14275

1. Methods now return a tuple as documented, instead of a list.
2. indicate_inset() now does not error when optional inset_ax is not
passed, but returns None instead of a tuple.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue Jun 24, 2019
See matplotlib#14275

inset_ax argument is meant to be optional, but currently fails if not
given.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue Jun 24, 2019
See matplotlib#14275

1. Methods now return a tuple as documented, instead of a list.
2. indicate_inset() now does not error when optional inset_ax is not
passed, but returns None instead of a tuple.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue Jun 24, 2019
See matplotlib#14275

inset_ax argument is meant to be optional, but currently fails if not
given.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue Jun 24, 2019
See matplotlib#14275

1. Methods now return a tuple as documented, instead of a list.
2. indicate_inset() now does not error when optional inset_ax is not
passed, but returns None instead of a tuple.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue Jul 6, 2019
See matplotlib#14275

inset_ax argument is meant to be optional, but currently fails if not
given.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue Jul 6, 2019
See matplotlib#14275

1. Methods now return a tuple as documented, instead of a list.
2. indicate_inset() now does not error when optional inset_ax is not
passed, but returns None instead of a tuple.
clbarnes added a commit to clbarnes/matplotlib that referenced this issue Jul 6, 2019
See matplotlib#14275

1. Methods now return a tuple as documented, instead of a list.
2. indicate_inset() now does not error when optional inset_ax is not
passed, but returns None instead of a tuple.
@timhoffm
Copy link
Member

Closed by #14278.

@QuLogic QuLogic added this to the v3.2.0 milestone Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants