Mep12 ticks and spines#8212
Mep12 ticks and spines#8212anntzer merged 4 commits intomatplotlib:masterfrom NelleV:MEP12_ticks_and_spines
Conversation
| ax2.plot(x, y) | ||
|
|
||
| # Only draw spine between the y-ticks | ||
| ax2.spines['left'].set_bounds(-1, 1) |
|
Please backport to 2.0.0-doc |
| ax1.yaxis.set_ticks_position('left') | ||
| ax1.xaxis.set_ticks_position('bottom') | ||
|
|
||
|
|
There was a problem hiding this comment.
no need for two empty lines? (there's only one between ax0 and ax1)
| Tick locators | ||
| ============= | ||
|
|
||
| Show the different tick locators |
| ====== | ||
|
|
||
| This demo compares : | ||
| - normal axes, with spines on all four sides |
There was a problem hiding this comment.
Add dots (or commas) at the end of each item.
| Spines | ||
| ====== | ||
|
|
||
| This demo compares : |
There was a problem hiding this comment.
no space before the colon (English typography :-))
|
I fixed the blank spaces/lines issues. |
| This demo compares: | ||
| - normal axes, with spines on all four sides; | ||
| - an axes with spines only on the left and bottom; | ||
| - an axes using custom bounds to limit the extent of the spine; |
There was a problem hiding this comment.
not at the end of the last item...
There was a problem hiding this comment.
As a side note, when it starts being that nitpicky, it is much faster to fix it yourself before merging.
There was a problem hiding this comment.
FYI, I didn't even bother doing it on my computer: I just did it through the github API.
There was a problem hiding this comment.
Ah, I didn't know I could do it directly there... good point.
|
Thanks. |
|
Backported to |
I've merged two examples and wrote documentation for a bunch of others.
refs #7206