class_docstr: This class implements the functionalities to use Matplotlib with SymPy
  plotting functions.
class_docstr_tok: ["This","class","implements","the","functionalities","to","use","Matplotlib","with","SymPy","plotting","functions","."]
code: def _create_figure(self):
      def set_spines(ax):
          ax.spines["left"].set_position("zero")
          ax.spines["right"].set_color("none")
          ax.spines["bottom"].set_position("zero")
          ax.spines["top"].set_color("none")
          ax.xaxis.set_ticks_position("bottom")
          ax.yaxis.set_ticks_position("left")
  
      if self._plotgrid_fig is not None:
          self.fig = self._plotgrid_fig
          self.ax = self._plotgrid_ax
          if not any(s.is_3D for s in self._series):
              set_spines(self.ax)
      else:
          self.fig = self.plt.figure(figsize=self.size)
          if any(s.is_3D for s in self._series):
              self.ax = self.fig.add_subplot(1, 1, 1, projection="3d")
          else:
              self.ax = self.fig.add_subplot(1, 1, 1)
              set_spines(self.ax)
  
file_path: sympy/sympy/plotting/backends/matplotlibbackend/matplotlib.py
imports: from collections.abc import Callable
  from sympy.core.basic import Basic
  from sympy.external import import_module
  import sympy.plotting.backends.base_backend
  from sympy.printing.latex import latex
label_desc: Use image node_id 2 for calling the MatplotlibBackend obj's underlying member method code with example usage: obj._create_figure() without return types