Hello, I seem to be having an issue with plotting a figure correctly. it brings up the error that: ValueError: Image size of 1215624718x1259970318 pixels is too large. It must be less than 2^16 in each direction. The point is to plot the moon and Earth and plot a rocket flying around them in an orbit slingshot sorta way.
Earth = plt.Circle((0, 0), 6378000, color ='g', label = 'Earth') Moon = plt.Circle((0, 384e6), 1737000, color ='grey', label='Moon') plt.gcf().add_artist(Earth) plt.gcf().add_artist(Moon) plt.plot(xlist, ylist, color='b', label='Journey') plt.legend(loc='lower right') plt.xlabel('x-position (m)') plt.ylabel('y-position (m)') plt.ylim((3.5e8, 4e8)) plt.xlim((-0.2e8,0.2e8)) plt.axis('equal') plt.grid() plt.show()Could anyone help? Thanks for your time