python - Matplotlib.pyplot.contourf: lines, or gaps between polygons? -
i'm trying plot filled contour plot, edge of each polygon white.
i've tried turning them of linewidth=0
, linewidths=0
,edgecolor=none
, few others. i'm beginning think rounding-error type gap between polygons, don't know. appreciated.
here's mean: bottom left , top right, made
plt.contourf(x,y,s,20,cmap=get_cmap('piyg'),linewidths=0,edgecolor=none)
i upgraded matplotlib 1.1.1rc (which comes ubuntu 12.04)
it looks (same function call) - can see white edges have gone. difference more apparent in vector graphics versions.
Comments
Post a Comment