Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cleaned up 3 examples [MEP12] #6488

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

Closed
wants to merge 3 commits into from
Closed

cleaned up 3 examples [MEP12] #6488

wants to merge 3 commits into from

Conversation

aneda
Copy link
Contributor

@aneda aneda commented May 27, 2016

The following three examples:
-- boxplot_color_demo.py
-- boxplot_vs_violin_demo.py
-- bachelors_degrees_by_gender.py

@tacaswell
Copy link
Member

👍 will merge after CI passes.

"""Timeline graph comparison with aligned colored annotation.

This example shows lines tracking change over time. It features dashed
lines at fixed increments on the Y axis.
Copy link
Member

Choose a reason for hiding this comment

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

being a bit pedantic here, but this paragraph could be used to describe just about any plot. I would just leave it out, or add a some info that is more specific to this example. In particular, with MEP12, we are looking for descriptions that not only describe the figure, but also describe what feature of matplotlib is being showcased.

Copy link
Member

Choose a reason for hiding this comment

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

This one is a particularly flexibility testing example.

Copy link
Contributor

Choose a reason for hiding this comment

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

What about something like...
"""
A graph of multiple time series which demonstrates extensive custom
styling of plot frame, tick lines and labels, and line graph properties.

Also demonstrates the custom placement of text labels along the right edge
as an alternative to a conventional legend.
"""

Copy link
Member

Choose a reason for hiding this comment

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

Perfect!

@tacaswell tacaswell added this to the 2.1 (next point release) milestone May 27, 2016
@fariza
Copy link
Member

fariza commented Sep 29, 2016

@aneda if you don't have time I don't mind taking over this PR to get it merged
It's just missing the correction in the docstring

@aneda
Copy link
Contributor Author

aneda commented Oct 3, 2016

@fariza go ahead! I had forgotten about this and I'd thought it was done

@@ -1,4 +1,4 @@
# Box plots with custom fill colors
"""Box plots with custom fill colors."""
Copy link
Member

Choose a reason for hiding this comment

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

It would be worth having a small description here as well.

Copy link
Member

Choose a reason for hiding this comment

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

@NelleV Any suggestions?

Copy link
Member

Choose a reason for hiding this comment

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

You are making me work :)

Something like:
"This plot illustrates how to create two types of boxplots (rectangular and notch), and how to fill them with custom colors by accessing some properties of the artists of the boxplots."
If we'd go with this description, I'd replace the title with something shorter: "Colored box plots"

But with this description, I'd remove the horizontal grid lines and replace the setp with ax.set_xticklabels.

Copy link
Member

Choose a reason for hiding this comment

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

I'm not convinced, @WeatherGod what do you think?

@NelleV NelleV added the MEP: MEP12 gallery and examples improvements label Oct 3, 2016
@tacaswell tacaswell changed the title cleaned up 3 examples [MEP12] [MRG+1] cleaned up 3 examples [MEP12] Oct 4, 2016
@tacaswell tacaswell changed the title [MRG+1] cleaned up 3 examples [MEP12] cleaned up 3 examples [MEP12] Oct 4, 2016
@tacaswell
Copy link
Member

Sorry for my noise on this :backs slowly away:

@NelleV
Copy link
Member

NelleV commented Oct 4, 2016

@tacaswell Are we changing the title when we approve the PR or not? The PR review guidelines say so, but you undid your title change :)

@fariza
Copy link
Member

fariza commented Oct 21, 2016

@tacaswell @WeatherGod I just pushed the replacement PR to finish this review process,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MEP: MEP12 gallery and examples improvements status: duplicate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants