I have a graph created by a different program that I am trying to recreate using plotly in python. The main problem I have is that for the y-axis, most of the percentages are in intervals of 10% except for the ticks near 0% and 100%. The ticks near the 0% and 100% are all squished together because they have very close values, making them illegible. I want to keep all the values, but have them positioned to have an equal spacing from each other.
These are the values I have on the y-axis: yTicks = [0,0.0010, 0.0050, 0.0100, 0.0200, 0.0500, 0.1000, 0.2000, 0.3000, 0.4000, 0.5000, 0.6000, 0.7000, 0.8000, 0.9000, 0.9500, 0.9800, 0.9900, 0.9950, 0.9990, 1]
I am currently using these settings for the y-axis: tickformat='.2%', tickmode='array', tickvals= yTicks
[my plotly graph]
[the type of y axis Iβm looking for]