I worked on a dash project a year ago. At that time i was using dash 0.22.0 version. Now as I upgrade my dash to the current version it showing autorange error.
Here is a small part of the code
if(len(store[0])==0): print('No Bookmarks Found........NOT AN ERROR.......') raise dash.exceptions.PreventUpdate() if figure['layout']['xaxis']['autorange'] is True: // getting error on this line print('all visible........NOT AN ERROR.......') raise dash.exceptions.PreventUpdate()
Error is -
File "C:\Users\a19.mittal\Desktop\ssrmAnalyser - Copy\pages\analyse.py", line 1036, in mainPlotEditor if figure['layout']['xaxis']['autorange'] is True: KeyError: 'autorange'
I’m not able to correct this error.
Thanks