Skip to content

Add default scatter marker option to rcParams #6328

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

Merged
merged 3 commits into from
Apr 29, 2016

Conversation

bcongdon
Copy link
Contributor

Addresses #6272.

Removes hard-coded 'o' as the default marker from within the scatter definition. Adds the 'scatter.marker' option in rcParams, which is then loaded when scatter is called.

This is my first contribution, so I apologize in advance if I've violated any best practices.

@bcongdon
Copy link
Contributor Author

The AppVeyor build looks like it failed because it took too long to download freetype.

@efiring efiring mentioned this pull request Apr 26, 2016
@tacaswell tacaswell added this to the 2.0 (style change major release) milestone Apr 26, 2016
@tacaswell
Copy link
Member

Can you also add this key to matplotlibrc.template and the classic style sheet?

@bcongdon
Copy link
Contributor Author

Alright, done.

@@ -461,6 +461,9 @@ backend : $TEMPLATE_BACKEND
# If Numpy 1.11 or later is
# installed, may also be `auto`

### SCATTER PLOTS
#scatter.marker # The default marker type for scatter plots.
Copy link
Member

Choose a reason for hiding this comment

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

This needs : o

@bcongdon bcongdon force-pushed the ft-scatter-marker-rc branch from e87dc6f to f0dcc36 Compare April 26, 2016 15:09
@bcongdon
Copy link
Contributor Author

Whoops, my mistake. Fixed.

@tacaswell
Copy link
Member

One more house keeping thing, can you add a note in https://github.com/matplotlib/matplotlib/blob/master/doc/users/whats_new/rcparams.rst documenting this feature?

@bcongdon
Copy link
Contributor Author

Sure, added that to the docs.

@tacaswell tacaswell merged commit 585d128 into matplotlib:master Apr 29, 2016
tacaswell added a commit that referenced this pull request Apr 29, 2016
Add default scatter marker option to rcParams
@tacaswell
Copy link
Member

Thanks! backported to v2.x as ad81e3f

I think this is your first contribution to mpl. Congratulations, hopefully we will see you again 😄

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

Successfully merging this pull request may close these issues.

4 participants