plotly / plotly/plotly.py

Font size units missing in docs

Open
#4,240 1 comment 1 reaction 1 assignee View on GitHub

@LiamConnors is already working on this.

Since Jul 11, 2024.

bug documentation P3
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
21

Description

Looking at https://plotly.com/python/reference/layout/#layout-font, we see

size
Code: fig.update_layout(font_size=<VALUE>)
Type: number greater than or equal to 1
Default: 12

But what are the units of this number? Points? Pixels? cm? in? Experimentation shows that it's most likely points, but an official record of that would be nice.

Hopefully this doesn't take more than a couple of minutes. Thank you for your time.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.