[Matplotlib-users] Connect plot in Contourf when there are missing values(nan)

apu apuroopa.rao1 at gmail.com
Thu Feb 20 02:42:14 EST 2020


I am plotting x, y, z values using contourf plots. However I have some
missing z values (nan). All these regions are shown as blanks and the graph
looks diconnected.

Is there a way for the plot to have connected gaps? Plotly has an option to
connect gaps with smooth transitions?
https://plot.ly/python/contour-plots/#connect-the-gaps-between-none-values-in-the-z-matrix

Do we have an equivalent of this in matlotlib contourf plots?



--
Sent from: http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html


More information about the Matplotlib-users mailing list