plotly / plotly_express

Plotly Express - Simple syntax for complex charts. Now integrated into plotly.py!
https://plot.ly/python/plotly-express/
MIT License
4 stars 0 forks source link

Density Contour range_z #172

Open jeremykaram opened 3 years ago

jeremykaram commented 3 years ago

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.