code: def test_plot(plotting_backend):
      log.info(
          f"testing: Basic plotting with forecast in focus with {plotting_backend}"
      )
      df = pd.read_csv(PEYTON_FILE, nrows=NROWS)
      m = NeuralProphet(
          epochs=EPOCHS,
          batch_size=BATCH_SIZE,
          learning_rate=LR,
          n_forecasts=7,
          n_lags=14,
          yearly_seasonality=True,
          weekly_seasonality=True,
      )
      m.fit(df, freq="D")
  
      m.highlight_nth_step_ahead_of_each_forecast(7)
      future = m.make_future_dataframe(df, n_historic_predictions=10)
      forecast = m.predict(future)
      fig1 = m.plot(forecast, plotting_backend=plotting_backend)
      fig2 = m.plot_latest_forecast(
          forecast, plotting_backend=plotting_backend
      )
      fig3 = m.plot_components(
          forecast, plotting_backend=plotting_backend
      )
      fig4 = m.plot_parameters(plotting_backend=plotting_backend)
  
      log.info(
          f"testing: Basic plotting without forecast in focus with {plotting_backend}"
      )
      m.highlight_nth_step_ahead_of_each_forecast(None)
      future = m.make_future_dataframe(df, n_historic_predictions=10)
      forecast = m.predict(future)
      fig5 = m.plot(forecast, plotting_backend=plotting_backend)
      fig6 = m.plot_latest_forecast(
          forecast, plotting_backend=plotting_backend
      )
      fig7 = m.plot_components(
          forecast, plotting_backend=plotting_backend
      )
      fig8 = m.plot_parameters(plotting_backend=plotting_backend)
  
      # only show plots in interactive mode. gh actions are non-interactive
      if PLOT:
          fig1.show()
          fig2.show()
          fig3.show()
          fig4.show()
          fig5.show()
          fig6.show()
          fig7.show()
          fig8.show()
  
imports: import logging
  import os
  import pathlib
  import pandas
  import pytest
  from neuralprophet import NeuralProphet
label_desc: Use image node_id 1 for calling a global function with example usage: test_plot(plotting_backend) without return types