Skip to content

Improve linestyle documentation #11908

Closed
Closed

Description

@timhoffm

We currently have

https://matplotlib.org/gallery/lines_bars_and_markers/line_styles_reference.html
https://matplotlib.org/gallery/lines_bars_and_markers/linestyles.html

which are partly redundant. Also one of them uses the (offset, on-off-dash-seq) but does not explain it.

This should be merged in to a single comprehensible file with a bit more explanation.

See also:
https://matplotlib.org/api/_as_gen/matplotlib.lines.Line2D.html#matplotlib.lines.Line2D.set_linestyle
(which itself is not in great shape)

Activity

  1. added this to the v3.1 milestone on Aug 23, 2018
  2. tacaswell commented on Aug 23, 2018

    @tacaswell
    Member

    Is this fully addressed by #11909?

  3. timhoffm commented on Aug 23, 2018

    @timhoffm
    MemberAuthor

    No. #11909 just slightly simplifies the code of each of the examples.

    I'm proposing here to join the two examples and add a bit of explanatory text.

  4. ImportanceOfBeingErnest commented on Oct 7, 2018

    @ImportanceOfBeingErnest
    Member

    In #11797 I compared the different ways to set linestyle and there seem to be a couple of inconsistencies and missing options. So getting clear about which option/syntax can be used where would also help (re)writing the examples.

  5. thoo commented on Oct 17, 2018

    @thoo
    Contributor

    I am a new comer and would like to work on this. Would this be a good place to start? Thanks.

  6. timhoffm commented on Oct 17, 2018

    @timhoffm
    MemberAuthor

    Yes, particularly "Writing examples and tutorials".

  7. removed
    🌱 Good first issueOpen a pull request against these issues if there are no active ones!
    on Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions