For anyone interested in default settings for 2.0, please see
https://github.com/matplotlib/matplotlib/pull/6424. We have a brief
window of opportunity to settle on the new defaults. The legend
defaults have not yet been reviewed in detail.
As with all of the default settings, the question is not "what looks
good on my fancy plot for publication X", but what will make a good
*default*. This means it should work well in a wide variety of
situations; it should be "good enough" in many cases, and "terrible" in
few. Relatively simple and common cases are weighted more highly than
complex cases for which customization is inevitable anyway. The goal is
to convey information effectively and in a visually pleasing manner.
Eric
Hello,
How difficult it would be to add an option to replace a legend with
labels directly next to the plot with some intelligent automatic
positioning?
Regards,
Maciek
-------- Oryginalna wiadomo?? --------Od: Eric Firing <efiring at hawaii.edu>
Do: matplotlib development list <matplotlib-devel at python.org>
Temat: [Matplotlib-devel] legend defaults for 2.0
For anyone interested in default settings for 2.0, please see
https://github.com/matplotlib/matplotlib/pull/6424.??We have a brief
window of opportunity to settle on the new defaults. The legend
defaults have not yet been reviewed in detail.
As with all of the default settings, the question is not "what looks
good on my fancy plot for publication X", but what will make a good
*default*. This means it should work well in a wide variety of
situations; it should be "good enough" in many cases, and "terrible" in
few. Relatively simple and common cases are weighted more highly than
complex cases for which customization is inevitable anyway. The goal
is
to convey information effectively and in a visually pleasing manner.
Eric
···
Data: Tue, 17 May 2016 08:43:11 -1000
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel at python.org
https://mail.python.org/mailman/listinfo/matplotlib-devel
--
Maciek Dems http://dems.art.pl/
You mean directly labeling each curve, as one would do manually with
annotations? This is similar to what the contour labeling algorithm
does, but probably even harder to do well enough to be useful.
Eric
···
On 2016/05/17 9:40 PM, Maciek Dems wrote:
Hello,
How difficult it would be to add an option to replace a legend with
labels directly next to the plot with some intelligent automatic
positioning?
Regards,
Maciek
You mean directly labeling each curve, as one would do manually with?
annotations???This is similar to what the contour labeling algorithm?
does, but probably even harder to do well enough to be useful.
Yes, this is exactly what I mean. Very often such approach is better
than using the legend.
Maciek
--?
Maciek Dems http://dems.art.pl/
Could you put in a feature request for a clabel-like function for labeling
lines? That is a neat idea, and maybe someone might work on it as a summer
project?
···
On Wed, May 18, 2016 at 5:12 PM, Maciek Dems <macdems at gmail.com> wrote:
> You mean directly labeling each curve, as one would do manually with
> annotations? This is similar to what the contour labeling algorithm
> does, but probably even harder to do well enough to be useful.
Yes, this is exactly what I mean. Very often such approach is better
than using the legend.
Maciek
--
Maciek Dems http://dems.art.pl/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel at python.org
Matplotlib-devel Info Page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20160519/6fe614cf/attachment.html>