plotly.py
plotly.py copied to clipboard
Plotly express: Histogram without data throws error since v5.9.0
Until v5.8.2 it worked well, but since 5.9.0 it does not anymore.
px.histogram().add_annotation(.....
Error message:
.... \plotly\express\_core.py", line 520, in <listcomp>
hover_lines = [k + "=" + v for k, v in mapping_labels_copy.items()]
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'