✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Negative 0 on a bar chart

Hi, I’m getting something similar to this issue (Yaxis labeling 0 as negative) but on python

image

my range on the right axis is calculated so that there’s a buffer otherwise the dot will hit the x axis will be cut off.

lowestRightYAxisValue = -.59
highestRightYAxisValue = 1.2

range=[round(lowestRightYAxisValue,2),highestRightYAxisValue ]

We’ve got a fix coming for the -0% problem, in the next version of Plotly.py which is going to be released on Tuesday :slight_smile:

great news! thank you!

This should be fixed in version 4.10! 📣 Announcing Plotly.py 4.10: date-axis improvements, a Faster px.imshow() and Full Figures for Development