()
| 72 | |
| 73 | |
| 74 | def create_figure(): |
| 75 | # ------------------------------- START OF YOUR MATPLOTLIB CODE ------------------------------- |
| 76 | fig = matplotlib.figure.Figure(figsize=(5, 4), dpi=100) |
| 77 | t = np.arange(0, 3, .01) |
| 78 | fig.add_subplot(111).plot(t, 2 * np.sin(2 * np.pi * t)) |
| 79 | |
| 80 | return fig |
| 81 | |
| 82 | |
| 83 | def create_subplot_3d(): |