code: def test_create(self):
      f = open("modelchimp/tests/matplot.png", "rb")
      response = self.client.post(
          self.url,
          data={
              "name": "Scatter Plot",
              "mat_plot_file": f,
              "project": self.project.id,
              "ml_model": self.experiment1.id,
          },
          format="multipart",
      )
  
      self.assertEqual(response.status_code, status.HTTP_201_CREATED)
  
      response = self.client.post(
          self.url,
          data={"name": "Scatter Plot", "mat_plot_file": f},
          format="multipart",
      )
      self.assertEqual(
          response.status_code, status.HTTP_400_BAD_REQUEST
      )
      f.close()
  
file_path: modelchimp/modelchimp/tests/views/test_experiment_matplot_api.py
imports: from rest_framework import status
  from modelchimp.tests import BaseTest
  from modelchimp.enum import Constants
  from modelchimp.factories.factory_experiment_matplot import ExperimentMatPlotFactory
label_desc: Use image node_id 2 for calling the ExperimentMatPlotApiTest obj's underlying member method code with example usage: obj.test_create() without return types