from mpl_bsic import apply_bsic_style, apply_bsic_logo

import matplotlib.pyplot as plt

x = np.linspace(0, 5, 100)
y = np.cos(x)

fig, ax = plt.subplots(1, 1)
ax.set_title('Cos(x)') # set the title before applying the style
apply_bsic_style(fig, ax)
apply_bsic_logo(fig, ax, location='top right', scale=0.03)

ax.plot(x,y)
run_animations(fig) # only needed for the docs, don't call in the actual code