79387579

Date: 2025-01-25 21:49:08
Score: 1
Natty:
Report link

To solve the problem with plt.show() which doesn't display anything, one solution using fig.axes[0] instead of plt.gca() and using display() in Jupyter notebook:

fig = P.draw()
ax = fig.axes[0]
ax.set_xticklabels(["2030","2040","2050"])
display(fig)

plot

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: rehaqds