Small issues with the example `polar_scatter_demo.py` · Issue #6687 · matplotlib/matplotlib · GitHub
Skip to content

Small issues with the example polar_scatter_demo.py #6687

Description

@afvincent

mpl v2.x

In the example polar_scatter_demo.py, I guess that the line

area = 200 * r**2 * np.random.rand(N)

should be

area = 200 * r**2

to be consistent with the header docstring which states “Size increases radially…”.

Besides, if I understood correctly, one wants to promote the OO style in the examples. If it's correct, shouldn't plt.scatter be replaced with ax.scatter?

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions