Skip to content

intro plt() alias discussion#262

Merged
vincentarelbundock merged 2 commits intograntmcdermott:mainfrom
vincentarelbundock:intro_vignette_tooltip
Jan 13, 2025
Merged

intro plt() alias discussion#262
vincentarelbundock merged 2 commits intograntmcdermott:mainfrom
vincentarelbundock:intro_vignette_tooltip

Conversation

@vincentarelbundock
Copy link
Collaborator

The plt() tooltip is great and highly visible.

I moved it to just after we call tinyplot() for the first time, so users see it immediately.

I removed the section on plt(). IMHO, the tooltip is already very visible, and spending a full section on an alias at the top of the intro vignette is overkill. The start of the introduction in prime real estate in a tutorial, and we should invest it on "real" features.

@grantmcdermott
Copy link
Owner

You make a good point. But, in that case, should we just go all the way and move the tooltip to the very top of the document? (I.e. Just after the main heading.)

@vincentarelbundock
Copy link
Collaborator Author

Well I think the main function should be presented before its alias. Otherwise we can't even answer: "alias to what?"

But anywhere after the first evaluated tinyplot() call is fine, I think.

@grantmcdermott
Copy link
Owner

Circling back to this with a few tweaks. If you're happy with my suggestion, please feel free to merge. (Or let me know and I will.)

@vincentarelbundock vincentarelbundock merged commit df3ef35 into grantmcdermott:main Jan 13, 2025
3 checks passed
@vincentarelbundock
Copy link
Collaborator Author

LGTM

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.

2 participants