Hi, Jon.
Thanks for looking into this.
trace = go.Scatter(
{
'x': x_values,
'y': y_values,
'xaxis': {
'range': mz_range,
'autorange':False,
},
'yaxis': {
'range': int_range,
'autorange':False,
},
'text': txt,
'textfont': {
'family': 'Helvetica',
'size': 10,
'color': '#000000'
},
'textposition': 'top center',
'visible': 'True',
'marker': {
'size' : 10,
'color' : 'rgba'+str((color[0], color[1], color[2], opacity)),
},
'mode': mode,
'name': name,
'line': {
'color': 'rgba'+str((color[0], color[1], color[2], opacity)),
'width': self.style_options['line.width'],
'shape': shape,
'dash' : dash,
},
'fill': filling,
'fillcolor': {
'color' : 'rgba' + str((color[0], color[1], color[2], opacity)),
'opacity' : opacity,
},
'opacity': opacity,
}
)
Would this be the figure specification you mentioned?
Can I send you a sample plot so you can get an idea of what behaviour is happening? It seem like the axis are ‘zooming’, but the trace does not.
Matt