8000 DOC: Cleanup spines usage in examples by timhoffm · Pull Request #24378 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@timhoffm
Copy link
Member
@timhoffm timhoffm commented Nov 6, 2022
  • hide spines using set_visible(False) instead of set_color('none')
  • remove ax.xaxis.set_ticks_position('bottom') and ax.yaxis.set_ticks_position('left'), because these are already the defaults
  • use multi-assignment (spines[['left', 'bottom']].set_*) when possible
  • Remove "Custom spine bounds" example. This is already included in the "Spines" example

- hide spines using `set_visible(False)` instead of `set_color('none')`
- remove `ax.xaxis.set_ticks_position('bottom')` and
  `ax.yaxis.set_ticks_position('left')`, because these are already the
  defaults
- use multi-assignment (`spines[['left', 'bottom']].set_*`) when
  possible
- Remove "Custom spine bounds" example. This is already included in the
  "Spines" example
@timhoffm timhoffm added this to the v3.6.3 milestone Nov 6, 2022
@tacaswell
Copy link
Member

@timhoffm did you mean v3.6.3 instead of v3.6-doc?

oscargus added a commit that referenced this pull request Nov 6, 2022
…378-on-v3.6.x

Backport PR #24378 on branch v3.6.x (DOC: Cleanup spines usage in examples)
@timhoffm
Copy link
Member Author
timhoffm commented Nov 6, 2022

@timhoffm did you mean v3.6.3 instead of v3.6-doc?

I'm confused. This milestoned v3.6.3 as suggested.

@timhoffm timhoffm deleted the doc-spines-cleanup branch November 6, 2022 09:14
@ksunden ksunden mentioned this pull request Feb 20, 2023
6 tasks
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.

2 participants

0