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) 

enter image description here

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.

enter image description here


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

jquery - How can I dynamically add a browser tab? -