Hello, I am using plotly.express to create a density contour map. It works quite well, but I am wondering if there is a way to constrain the density range. That is to say, I am wondering if I can do something equivalent to range_x=[-num,num] but for the z-axis. Right now, my contour map looks like this:
px.density_contour(df, x="x", y="y", z="dens", histfunc="count", range_x=[-4,4], range_y=[-4,4])
Thank you for the help.
Hello, I am using plotly.express to create a density contour map. It works quite well, but I am wondering if there is a way to constrain the density range. That is to say, I am wondering if I can do something equivalent to
range_x=[-num,num]
but for the z-axis. Right now, my contour map looks like this:px.density_contour(df, x="x", y="y", z="dens", histfunc="count", range_x=[-4,4], range_y=[-4,4])
Thank you for the help.