Labels

Friday, December 4, 2020

Display figure in remote machine

 

import matplotlib matplotlib.use('tkagg') import matplotlib.pyplot as plt plt.plot([1, 2, 3]) plt.show()

ssh -p port_number -X user@xxxx

Reference: https://stackoverflow.com/questions/3453188/matplotlib-display-plot-on-a-remote-machine

No comments:

Post a Comment