Skip to content

[Doc]: scatter points #23700

Closed
Closed

Description

@niubiworker

Documentation Link

No response

Problem

what is mean the marker size in points**2 in scatter, I do not understand it.

Suggested improvement

No response

Activity

  1. jklymak commented on Aug 22, 2022

    @jklymak
    Member

    If you set the size to 10 then the diameter is 2 * sqrt(10 / pi) = 3.56 points. One point is 1/72 inch.

  2. niubiworker commented on Aug 22, 2022

    @niubiworker
    Author

    if I set the dpi=720, how long the diameter? thank you!

  3. oscargus commented on Aug 22, 2022

    @oscargus
    Member

    It is still 3.56 points = 3.56/72 = 0.049 inches = 1.2 mm. With 720 dpi it should be 35.6 dots.

  4. niubiworker commented on Aug 24, 2022

    @niubiworker
    Author

    ok, thank you!

  5. story645 commented on Aug 24, 2022

    @story645
    Member

    I think the actionable next step would be to amend the marker size in points to the marker size in points ** 2, (typographic points are 1/72 in.),

    s : float or array-like, shape (n, ), optional
    The marker size in points**2.
    Default is ``rcParams['lines.markersize'] ** 2``.

    Honestly not sure though if we want to do that or if a better solution is to set up a glossary page (which was removed in #18696 but then specific to backends) to cross link these types of things against.

  6. timhoffm commented on Sep 24, 2022

    @timhoffm
    Member

    I think the local addition is the simpler solution for now.

  7. added
    🌱 Good first issueOpen a pull request against these issues if there are no active ones!
    on Sep 25, 2022
  8. story645 commented on Sep 25, 2022

    @story645
    Member

    Good first issue cause it's a small doc fix, the fix is written out, and the location for where to put in the fix is posted in #23700 (comment)

  9. added this to the v3.6.1 milestone on Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentation🌱 Good first issueOpen a pull request against these issues if there are no active ones!

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions