#!/usr/bin/env python3

import numpy as np
import matplotlib.pyplot as plt

x = np.arange(-10, 10, 0.1)

fig, ((ax1, ax2, ax3), (ax4, ax5, ax6)) = plt.subplots(2, 3, figsize=(14, 8))

y1 = np.cos(x)
ax1.plot(x, y1)
ax1.set_title("cos(x)")

y2 = np.sin(x)
ax2.plot(x, y2)
ax2.set_title("sin(x)")

y3 = np.tan(x)
ax3.plot(x, y3)
ax3.set_title("tan(x)")

y4 = np.cosh(x)
ax4.plot(x, y4)
ax4.set_title("cosh(x)")

y5 = np.sinh(x)
ax5.plot(x, y5)
ax5.set_title("sinh(x)")

y6 = np.tanh(x)
ax6.plot(x, y6)
ax6.set_title("tanh(x)")

plt.show()

Add a snippet (Matplotlib).