plotly_express icon indicating copy to clipboard operation
plotly_express copied to clipboard

Density Contour range_z

Open jeremykaram opened this issue 4 years ago • 0 comments

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.

jeremykaram avatar Jan 04 '21 23:01 jeremykaram