Get TypeError: ‘WrappedObject’ object is not callable
Code:
import plotly.graph_objects as go
fig = go.Figure(go.Indicator(
domain = {'x': [0, 1], 'y': [0, 1]},
value = 100,
mode = "gauge+number",
title = {'text': "guess here"},
#delta = {'reference': 380},
gauge = {'axis': {'range': [None, 100]},
'steps' : [
{'range': [0, self.r_bottom], 'color': "lightgray"},
{'range': [self.r_bottom, self.r_top], 'color': "gray"}],
'threshold' : {'line': {'color': "red", 'width': 4}, 'thickness': 0.75, 'value': 490}}))
fig.show()