[Matplotlib-devel] String names for linestyles

Is there any reason these string names for linestyles are not inherently in matlotlib?

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

I have to pass the tuple to use the second table of linestyles. Why can’t these strings be added to the native list?

Thanks,

Isaac

Linestyles are currently not coherently defined throughout the
library.

See this issue:

  Once they are, using more alias names is certainly possible.

Currently, there is noone actively working on this, so please feel
free to contribute.

···

https://github.com/matplotlib/matplotlib/issues/11797
Am 24.11.2019 um 01:16 schrieb Isaac
Gerg:

      Is there any reason these string names for linestyles are

not inherently in matlotlib?

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

      I have to pass the tuple to use the second table of

linestyles. Why can’t these strings be added to the native
list?

Thanks,

Isaac

_______________________________________________
Matplotlib-devel mailing list

Matplotlib-devel@python.orghttps://mail.python.org/mailman/listinfo/matplotlib-devel

Hi Isaac,

FWIW, a “long” time ago, I proposed
[#8048]([WiP] ENH: Add a “loose” version of the dashed line styles by afvincent · Pull Request #8048 · matplotlib/matplotlib · GitHub), which was
actually inspired by the example that you cited. However, I did not
manage to pursue the work in order to get significant traction on that
very proposal (which is likely to be a tricky one, as it may induce many
corner-cases that I did not think of…). Unfortunately, I do not expect
to have time resuming on that proposal any time soon.

As Elan wrote, please feel free to contribute on this topic :).

Best,
Adrien

···

Le 24/11/2019 à 02:06, Elan Ernest a écrit :

Linestyles are currently not coherently defined throughout the library.

See this issue: About linestyles: tuple not accepted in rc param file and other inconsistencies · Issue #11797 · matplotlib/matplotlib · GitHub

Once they are, using more alias names is certainly possible. Currently,
there is noone actively working on this, so please feel free to contribute.

Am 24.11.2019 um 01:16 schrieb Isaac Gerg:

Is there any reason these string names for linestyles are not
inherently in matlotlib?

Linestyles — Matplotlib 3.1.0 documentation

I have to pass the tuple to use the second table of linestyles. Why
can't these strings be added to the native list?

Thanks,
Isaac

_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@python.org
Matplotlib-devel Info Page

_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@python.org
Matplotlib-devel Info Page

_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@python.org
https://mail.python.org/mailman/listinfo/matplotlib-devel