Skip to content

TickedStroke, a stroke style with ticks useful for depicting constraints#15458

Merged
QuLogic merged 1 commit intomatplotlib:masterfrom
ramcdona:TickedStroke
Aug 6, 2020
Merged

TickedStroke, a stroke style with ticks useful for depicting constraints#15458
QuLogic merged 1 commit intomatplotlib:masterfrom
ramcdona:TickedStroke

Conversation

@ramcdona
Copy link
Copy Markdown
Contributor

In optimization, constraints are frequently plotted with a ticked line -- where
the ticks indicate that one side of the line is invalid. TickedStroke implements
a PathEffect to draw lines with a ticked style. The spacing, length, and angle
of ticks can be controlled.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants