X Tutup
Skip to content

Add default scatter marker option to rcParams#6328

Merged
tacaswell merged 3 commits intomatplotlib:masterfrom
bcongdon:ft-scatter-marker-rc
Apr 29, 2016
Merged

Add default scatter marker option to rcParams#6328
tacaswell merged 3 commits intomatplotlib:masterfrom
bcongdon:ft-scatter-marker-rc

Conversation

@bcongdon
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

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

@bcongdon
Copy link
Copy Markdown
Contributor Author

Alright, done.

# installed, may also be `auto`

### SCATTER PLOTS
#scatter.marker # The default marker type for scatter plots.
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.

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
Copy Markdown
Contributor Author

Whoops, my mistake. Fixed.

@tacaswell
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

X Tutup