This is needed when the plot has too many points but you would still want the legend and label to be saved as “pdf” to be editable. Works for large heatmaps too.
ax.scatter(..., rasterized=True)
ax.pcolormeash(..., rasterized=True)
This is needed when the plot has too many points but you would still want the legend and label to be saved as “pdf” to be editable. Works for large heatmaps too.
ax.scatter(..., rasterized=True)
ax.pcolormeash(..., rasterized=True)