0
matplotlib not working
My matplotlib cartesian-axis display is not working. Can someone help me? ax = plt.gca() ax.spines['top'].set_color('none') ax.spines['bottom'].set_position('zero') ax.spines['left'].set_position('zero') ax.spines['right'].set_color('none') The bottom axis is sent to 0 but the left doesn’t. Example in the code. Can you help me? INPUT: y = 3x - 3 https://code.sololearn.com/cM80c3OE0VVn/?ref=app
2 Respuestas
+ 6
Ugulberto Sánchez ,
i did a try with your code in playground and it is showing a diagram. what is your output showing?
+ 1
Lothar I mean, the y axis isn’t placed to 0, and i don’t know how to change that