File size: 258 Bytes
b6beed8 | 1 2 3 4 5 6 7 8 9 | # -*- 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") |