| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
- use `subplot_mosaic()` instead of `subplot(n, m, k)` calls
- hide spines using `set_visible(False)` instead of `set_color('none')`
- use multi-assignment (`spines[['left', 'bottom']].set_*`) when
possible
- remove `ax.xaxis.set_ticks_position('bottom')` and
`ax.yaxis.set_ticks_position('left')`, because these are already the
defaults
- reference the example in `spine_set_positions()` docstring
|
vs https://matplotlib.org/stable/gallery/spines/spine_placement_demo.html Is the change. I was momentarily thrown by the change from [-pi, pi] for the range to [0, 2pi]. @timhoffm can self-merge if that was a reasoned choice. |
Sorry, something went wrong.
|
That change is intentional. Sorry that I forgot to list and explain it. For a 0-symmetric x range, „center“ and „zero“ modes have the same effect. Going to [0, 2pi] makes the difference obvious. |
Sorry, something went wrong.
…377-on-v3.6.x Backport PR #24377 on branch v3.6.x (DOC: Cleanup Spine placement example)
…377-on-v3.6.2-doc Backport PR #24377 on branch v3.6.2-doc (DOC: Cleanup Spine placement example)
| Back | FazBrowse Home | New Git URL |
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.