From stack overflow: https://stackoverflow.com/questions/72079558/how-do-i-change-the-backend-in-cocalc-to-show-a-matplotlib-scatter-graph
import matplotlib.pyplot as plt plt.scatter([1,2,3], [4,2,1], color = 'blue') plt.show()