SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Alexis P. <ale...@ma...> - 2014年01月30日 11:30:03
Attachments: signature.asc contour.py
Hi, 
I've attached a reproducible example : when clabel is used, there are some empty (i.e white) triangles in the countour.
It does not occur without clabel.
Tested with matplotlib 1.2.0, python 2.7 on Fedora 14, 64 bits.
Cheers,
-- 
Alexis Praga, PhD Student (CERFACS)
GPG key : AD4A AF6D BB5C 042F 9422 1223 06E1 C1BF E287 65D0 
From: Eric F. <ef...@ha...> - 2014年01月30日 12:57:40
On 2014年01月30日 1:10 AM, Alexis Praga wrote:
> Hi,
>
> I've attached a reproducible example : when clabel is used, there are some empty (i.e white) triangles in the countour.
> It does not occur without clabel.
Thanks for the report--but clabel is intended to be used only with 
contour, not with contourf. Typically one would call contourf, and then 
call contour, perhaps with a subset of the levels used in contourf. The 
ContourSet resulting from the contour call would then be used in the 
call to clabel. Example:
http://matplotlib.org/examples/pylab_examples/contourf_demo.html
In this example the contour lines are black, but if you don't want the 
lines to show up at all, you could make them transparent, and then 
include a "colors" kwarg in the clabel call.
Eric
>
> Tested with matplotlib 1.2.0, python 2.7 on Fedora 14, 64 bits.
>
> Cheers,
>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /