code: def pytest_configure(config):
      try:
          import matplotlib
  
          matplotlib.use("agg")
          try:
              from pandas.plotting import register_matplotlib_converters
  
              register_matplotlib_converters()
          except ImportError:
              pass
      except ImportError:
          pass
  
file_path: statsmodels/statsmodels/conftest.py
imports: import logging
  import os
  import numpy
  import pandas
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: pytest_configure(config) without return types