Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
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 Respostas
+ 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