You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A couple things to keep in mind (learned with LFPykernels submission to PLOSCB):
# use discrete colormaps:
cmap = plt.get_cmap('RdBu_r', 51)
im = ax.contourf(cmap=cmap, **kwargs)
# colorbars are by default rasterized, which is bad:
cbar = plt.colorbar(im, ax=ax)
cbar.solids.set_rasterized(False)
The text was updated successfully, but these errors were encountered: