You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: creating empty px.histogram() results in an error #5534
Creating an empty histogram with px.histogram() leads to a TypeError. Other types of graphs like px.pie(), px.scatter(), px.bar() allow empty figure to be created.
Steps to reproduce
import plotly.express as px
px.scatter() # this is fine
px. histogram() # this is not
Activity
fix: handle empty histogram() by skipping None label in hover template