code: def plot_colored_lines(ax):
      """Plot lines with colors following the style color cycle."""
      t = np.linspace(-10, 10, 100)
  
      def sigmoid(t, t0):
          return 1 / (1 + np.exp(-(t - t0)))
  
      nb_colors = len(plt.rcParams["axes.prop_cycle"])
      shifts = np.linspace(-5, 5, nb_colors)
      amplitudes = np.linspace(1, 1.5, nb_colors)
      for t0, a in zip(shifts, amplitudes):
          ax.plot(t, a * sigmoid(t, t0), "-")
      ax.set_xlim(-10, 10)
      return ax
  
file_path: matplotlib/galleries/examples/style_sheets/style_sheets_reference.py
imports: import matplotlib.pyplot
  import numpy
  import matplotlib.colors
  from matplotlib.patches import Rectangle
label_desc: Use image node_id 2 for calling a global function with example usage: plot_colored_lines(ax) and returns: ax, unknown