| # -*- coding: utf-8 -*- | |
| """Visualization: matplotlib""" | |
| import matplotlib.pyplot as plt | |
| # Simple plotting | |
| plt.plot([1, 2, 3], [4, 5, 6]) | |
| plt.title("matplotlib line") | |
| plt.savefig("plot.png") # Save the figure to avoid blocking | |
| print("matplotlib plot saved") |