How to keep the marker width visually constant?

i dynamically append data to my traces, thus the xaxis range increases and the original marker width visually shrinks. This is because the marker width does not take the axis range into account, being to large on small scale and too tiny when scale too large.
Please how to fix this, eg marker1% of xaxis range?

fig = plg.Figure()
fig.add_trace(
    plg.Bar(x=x,
               y=y,
               name='foo',
               width=1e3, 
               marker_line_width=0, 
               ))

large scale
image

small scale

the only change was add/remove some data. please how to keep the marker constant width?

well use a callback with figure state/output and a range slider adjusting eg trace 0: fig_in['data'][0]['width'] = 10 ** barwidth