[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](https://github.com/matplotlib/matplotlib/pull/8048), 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: https://github.com/matplotlib/matplotlib/issues/11797

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?

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.org
https://mail.python.org/mailman/listinfo/matplotlib-devel

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

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