Post With Code and Plot

news
code
analysis
Author

Ravi Kalia

Published

February 9, 2024

Let’s see if blogging with code and plots works here:

Code
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 10, 100)

fig = plt.figure()
plt.plot(x, np.sin(x), '-')
plt.plot(x, np.cos(x), '--')

kindly taken from Jake Vanderplas’s blog

Success!