Skip to content

DOC: Update color tutorial to explain alpha - #9959

Merged
efiring merged 1 commit into
matplotlib:masterfrom
jklymak:doc-define-alpha
Dec 27, 2017
Merged

efiring merged 1 commit into
matplotlib:masterfrom
jklymak:doc-define-alpha

Conversation

@jklymak

@jklymak jklymak commented Dec 8, 2017

Copy link
Copy Markdown
Member

PR Summary

Based on the discussion in #9906 we really should define alpha somewhere. Here is my attempt. Edits welcome.

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@jklymak

jklymak commented Dec 8, 2017

Copy link
Copy Markdown
Member Author

@jklymak
jklymak force-pushed the doc-define-alpha branch 2 times, most recently from a726c8a to 2f671e4 Compare December 8, 2017 22:45
@jklymak jklymak added this to the v2.2 milestone Dec 10, 2017

@dstansby dstansby left a comment

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.

👍 apart from 1 minor change

Comment thread tutorials/colors/colors.py Outdated
of which span the colorspace.

How "Alpha" behaves depends on the ``zorder`` of the Artist. Higher
`zorder` Artists are drawn on top of lower Artists, and "Alpha" determines

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.

Should be double backticks for zorder here

@jklymak

jklymak commented Dec 13, 2017

Copy link
Copy Markdown
Member Author

ping @dstansby Thanks...

@efiring
efiring merged commit f433e2c into matplotlib:master Dec 27, 2017
@QuLogic QuLogic modified the milestones: needs sorting, v2.2.0 Feb 12, 2018
@jklymak
jklymak deleted the doc-define-alpha branch March 5, 2019 16:10
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.

4 participants