lhpku20010120's picture
Release WorkSurface-Build v0.1.0 public benchmark inputs
b6beed8 verified
Raw
History Blame Contribute Delete
258 Bytes
# -*- 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")