class_docstr: Test plotting.py.
class_docstr_tok: ["Test","plotting.py","."]
docstr: Test plot_shift().
docstr_tok: ["Test","plot_shift","(",")","."]
code: def test_plot_rm_corr(self):
      """Test plot_shift()."""
      df = read_dataset("rm_corr")
      g = plot_rm_corr(data=df, x="pH", y="PacO2", subject="Subject")
      g = plot_rm_corr(
          data=df, x="pH", y="PacO2", subject="Subject", legend=False
      )
      assert isinstance(g, sns.FacetGrid)
      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 6 for calling the TestPlotting obj's underlying member method code with example usage: obj.test_plot_rm_corr() without return types