Skip to content

Proposed implementation of an Annotation Plottable#3510

Merged
swharden merged 13 commits intoScottPlot:mainfrom
dlampa:annotations
Mar 19, 2024
Merged

Proposed implementation of an Annotation Plottable#3510
swharden merged 13 commits intoScottPlot:mainfrom
dlampa:annotations

Conversation

@dlampa
Copy link
Contributor

@dlampa dlampa commented Mar 19, 2024

Reference to issue #3356
Outstanding issues:

  • Currently missing the MarginX/MarginY implementation
  • Needs firming up on the default formatting
  • Needs firming up the default (minimum) offset from respective axes to ensure uniform and predictable spacing
  • Additional tests?
  • Example code/contrib. to the Cookbook

@dlampa dlampa changed the title Proposed implementation of an Annotation Plottable #3356 Proposed implementation of an Annotation Plottable Mar 19, 2024
@swharden
Copy link
Member

Thanks so much @dlampa, this looks great! I'm going to merge this now but feel free to open a new PR if you have ideas for refinements.

I moved some stuff around to simplify the code in this plottable (and future plottables as well). I'm excited to have this in the next release! 🚀

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.

SP5: Create Plot.Add.Annotation() for placing text on the figure (not bound to coordinates)

2 participants