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

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
DOC: Minor copy edits
  • Loading branch information
danielballan committed Dec 6, 2016
commit 22e48c3655c2e88b3dcfb0d10c1af3de8883230a
4 changes: 2 additions & 2 deletions doc/users/dflt_style_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -426,11 +426,11 @@ obscuring data too much.
fig, (old, new) = plt.subplots(ncols=2, sharey=True)
with plt.style.context('default'):
new.boxplot(data, labels=['A', 'B', 'C', 'D'])
new.set_title('New boxplots')
new.set_title('v2.0')
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.

Looks like this (And below) is reversed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oops, yes. Fixed and force-pushed.


with plt.style.context('classic'):
old.boxplot(data, labels=['A', 'B', 'C', 'D'])
old.set_title('Old boxplots')
old.set_title('classic')

new.set_ylim(bottom=0)
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.

If we log-scale the y-axes, this line will need to go.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good idea, a log scale would make it easier to see the components here. Done.


Expand Down
2 changes: 1 addition & 1 deletion doc/users/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ New rcparams added
+---------------------------------+--------------------------------------------------+
| Parameter | Description |
+=================================+==================================================+
|`date.autoformatter.year` | foramt string for 'year' scale dates |
|`date.autoformatter.year` | format string for 'year' scale dates |
+---------------------------------+--------------------------------------------------+
|`date.autoformatter.month` | format string for 'month' scale dates |
+---------------------------------+--------------------------------------------------+
Expand Down