Skip to content

Implemented Issue #3225. Added a uniform_size parameter to legend.#4247

Closed
rrrkren wants to merge 4 commits into
matplotlib:masterfrom
rrrkren:master
Closed

Implemented Issue #3225. Added a uniform_size parameter to legend.#4247
rrrkren wants to merge 4 commits into
matplotlib:masterfrom
rrrkren:master

Conversation

@rrrkren

@rrrkren rrrkren commented Mar 19, 2015

Copy link
Copy Markdown

fix for 3225
An extra parameter uniform_size is added to legend so that user can specify a uniform_size for scatter plots.
e.g.
plt.legend(loc="lower left", markerscale=2., scatterpoints=1, fontsize=10,uniform_size=20)

@tacaswell tacaswell added this to the next point release milestone Mar 19, 2015
@tacaswell

Copy link
Copy Markdown
Member

This seems a bit heavy handed.

Comment thread lib/matplotlib/legend.py

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also docment in the docstring

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. I noticed the keyword arguments for legend is also mentioned in figure.py. I'll add to that part as well.

@rrrkren

rrrkren commented Mar 26, 2015

Copy link
Copy Markdown
Author

#4257 seems to be a better fix. closing this one.

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

Successfully merging this pull request may close these issues.

2 participants