Skip to content

[DOC]: annotation tutorial: blended artist, headers, and user demo deletes #26445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

story645
Copy link
Member

@story645 story645 commented Aug 3, 2023

This PR adds an example of using two artists in the blended specifications just to make it more clear that's possible. While doing that, I made each of the coordinate types a subsection to make 'em easier to find. I also changed all the subsections to ^ cause that's what we specify in the doc docs.

Also got deleted and redirected the following because they're integrated into the tutorial:

@story645 story645 added topic: annotation Documentation: tutorials files in galleries/tutorials labels Aug 3, 2023
Copy link
Member

@rcomer rcomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this. The layout seems better, and the extra subheadings will make it easier to link to specific things when helping people.

It looks like CI is failing because a whatsnew entry links to the userdemo example.

Does this close #24723?

t1 = ax.text(0.05, .05, "Anchor 1", va='bottom', ha='left')
t2 = ax.text(0.90, .90, "Anchor 2", ha='right')
t3 = ax.annotate("Anchored to 1 & 2", xy=(0, 0), xycoords=(t1, t2),
va='bottom', color='tab:orange',)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is golden knowledge 🤩

@story645
Copy link
Member Author

story645 commented Aug 6, 2023

I think it will once I fix the what's new?

Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com>
@story645
Copy link
Member Author

story645 commented Aug 7, 2023

and the extra subheadings will make it easier to link to specific things when helping people.

My new documentation philosophy is embrace all subheadings -> also b/c I'm finding that it makes the page so much more skimmable and I think shows up better in search.

@rcomer
Copy link
Member

rcomer commented Aug 7, 2023

Milestoned for 3.8 as any backport would need to be manual (into tutorials). I’m not convinced it’s worth it so close to the release.

@story645 story645 deleted the annotate-mult branch October 12, 2023 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants