code: def filter_queryset(self, queryset):
      mid = self.kwargs.get("model_id")
      return queryset.filter(ml_model=mid)
  
file_path: modelchimp/modelchimp/views/api/experiment_mat_plot.py
imports: import re
  from rest_framework import generics, status
  from rest_framework.response import Response
  from modelchimp.models.experiment_mat_plot import ExperimentMatPlot
  from modelchimp.serializers.experiment_mat_plot import ExperimentMatPlotSerializer
  from modelchimp.api_permissions import HasProjectMembership
  from rest_framework.permissions import IsAuthenticated
label_desc: Use image node_id 3 for calling the ExperimentMatPlotAPI obj's underlying member method code with example usage: obj.filter_queryset(queryset) and returns: queryset