Skip to content
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

Typo in element_text docs #1266

Open
concimuscb opened this issue Dec 18, 2024 · 0 comments
Open

Typo in element_text docs #1266

concimuscb opened this issue Dec 18, 2024 · 0 comments

Comments

@concimuscb
Copy link

Currently element_text() docs state that the size is defined in pt. However, upon testing, it appears to be in px instead.

My rudimentary testing was as follows:

  • Create chart and export to svg
  • Import chart into PPT and compare with text with the same settings than in Lets-Plot

When I set the text size in pt, the text does not line up with the one from power point. If I set up the size in LetsPlot assuming that it is px instead, then the text in the output chart has exactly the same size as the one in powerpoint.

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

No branches or pull requests

1 participant