The following example works with Plotly.py 5.22.0 which uses Plotly.js 2.32.0
Trying to update Plotly.py to use Plotly.js 2.33.0 and running codegen and then trying the following example fails:
raise ValueError(
ValueError:
Invalid value of type 'builtins.str' received for the 'weight' property of bar.textfont
Received value: 'bold'
The 'weight' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [1, 1000]
- A tuple, list, or one-dimensional numpy array of the above
The following example works with Plotly.py 5.22.0 which uses Plotly.js 2.32.0 Trying to update Plotly.py to use Plotly.js 2.33.0 and running codegen and then trying the following example fails:
Error: