It can be tricky to give you a correct answer without knowing what
version of mpl you're using. The legend for the scatter plot has been
added rather recently so my answer below may not work for you.
Anyhow, this seems to be a bug in the documentation, not the code.
The legend for scatter plot has
hi all,
following my last post, i found what seems to me to be a bug in the legend
handling of scatter plots. suppose i have:
scatter([1,2,3],[1,2,3], label="_nolegend_")
i then want to color some subset of these points in a different color, or
plot them using a different marker size, etc. so i
1.please compare figure 1 and figure 2
2 How to change text color on Pie chart ?
(If fragment of Pie chart is black text is unreadable )
3. Text "0.5%" in figure 2 is unreadable, how correct this?
( i try use pctdistance= 1.1 but if value is format autopct='%1.4f%%'
some text is unreadable )
#
> "Scott" == Scott Ransom <[EMAIL PROTECTED]> writes:
Scott> Hi All, I think I might have uncovered a bug in the legend
Scott> code when using multiple patches so that only the first
Scott> patch type is used in the legend.
Scott> In [41]: matplotlib.__version__ Out[41]: '0.87
Hi All,
I think I might have uncovered a bug in the legend code when using
multiple patches so that only the first patch type is used in the
legend.
In [41]: matplotlib.__version__
Out[41]: '0.87.5'
(that is revision 2782 from SVN)
Here is some code that shows the problem: