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

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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
rrrkren wants to merge4 commits intomatplotlib:masterfromrrrkren:master

Conversation

rrrkren
Copy link

fix for3225
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)

@tacaswelltacaswell added this to thenext point release milestoneMar 19, 2015
@tacaswell
Copy link
Member

This seems a bit heavy handed.

@@ -185,6 +185,7 @@ def __init__(self, parent, handles, labels,
bbox_transform=None, # transform for the bbox
frameon=None, # draw frame
handler_map=None,
uniform_size=None, # set legend points to be a uniform size
Copy link
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
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
Copy link
Author

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

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v1.5.0
Development

Successfully merging this pull request may close these issues.

2 participants
@rrrkren@tacaswell

[8]ページ先頭

©2009-2025 Movatter.jp