Skip to content

Test

This file is used to display the notes of a project, test basic features by executing it in the CI, etc.

import numpy as np
import matplotlib.pyplot as plt
Matplotlib created a temporary cache directory at /tmp/matplotlib-hujr7df7 because the default path (/home/jovyan/.cache/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.

Some math or code

This is some example code

x = np.linspace(-1, 1, 100)
y = x**2 - 6 * x**3

plt.plot(x, y)
[<matplotlib.lines.Line2D at 0x7f2fe8379850>]

png