Skip to content

Small issues with the example polar_scatter_demo.py #6687

Closed
@afvincent

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?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions