[Matplotlib-devel] String names for linestyles

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Matplotlib-devel] String names for linestyles

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


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
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|

Re: String names for linestyles

Elan Ernest

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?


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

_______________________________________________
Matplotlib-devel mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|

Re: String names for linestyles

vincent.adrien@gmail.com
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
>> [hidden email]
>> https://mail.python.org/mailman/listinfo/matplotlib-devel
>
> _______________________________________________
> Matplotlib-devel mailing list
> [hidden email]
> https://mail.python.org/mailman/listinfo/matplotlib-devel
>

_______________________________________________
Matplotlib-devel mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-devel