class_docstr: Test plotting.py.
class_docstr_tok: ["Test","plotting.py","."]
docstr: Test plot_shift().
docstr_tok: ["Test","plot_shift","(",")","."]
code: def test_plot_shift(self):
      """Test plot_shift()."""
      x = np.random.normal(5.5, 2, 50)
      y = np.random.normal(6, 1.5, 50)
      plot_shift(x, y)
      plot_shift(
          x,
          y,
          n_boot=100,
          percentiles=[5, 55, 95],
          show_median=False,
          seed=456,
          violin=False,
      )
      plot_shift(
          x,
          y,
          paired=True,
          n_boot=100,
          percentiles=[25, 75],
          confidence=0.90,
      )
      plt.close("all")
  
file_path: pingouin/pingouin/tests/test_plotting.py
imports: import pytest
  import matplotlib
  import numpy
  from scipy import stats
  import seaborn
  import matplotlib.pyplot
  from unittest import TestCase
  from pingouin import read_dataset
  from pingouin.plotting import plot_blandaltman, _ppoints, qqplot, plot_paired, plot_shift, plot_rm_corr, plot_circmean
label_desc: Use image node_id 5 for calling the TestPlotting obj's underlying member method code with example usage: obj.test_plot_shift() without return types