Skip to content Skip to sidebar Skip to footer

Positions Of Spines In Matplotlib

I have a plot: but I would like the ticks to be at the zero axes (as in a normal graph...). I have seen this example and also this example but am having issues: if i try: import

Solution 1:

try this:

plt.gca().spines['bottom'].set_position(('data',0))

Post a Comment for "Positions Of Spines In Matplotlib"