docs: def plot_eqarea_pars(self, pars, fig):
          """
          Given a dictionary of parameters (pars) that is returned from
          pmag.domean plots those pars to the given fig
          """
          if pars == {}:
              pass
          elif 'calculation_type' in list(pars.keys()) and pars['calculation_type'] == 'DE-BFP':
              ymin, ymax = fig.get_ylim()
              xmin, xmax = fig.get_xlim()
  
              D_c, I_c = pmag.circ(pars["specimen_dec"],
                                   pars["specimen_inc"], 90)
              X_c_up, Y_c_up = [], []
              X_c_d, Y_c_d = [], []
              for k in range(len(D_c)):
                  XY = pmag.dimap(D_c[k], I_c[k])
                  if I_c[k] < 0:
                      X_c_up.append(XY[0])
                      Y_c_up.append(XY[1])
                  if I_c[k] > 0:
                      X_c_d.append(XY[0])
                      Y_c_d.append(XY[1])
              fig.plot(X_c_d, Y_c_d, 'b', lw=0.5)
              fig.plot(X_c_up, Y_c_up, 'c', lw=0.5)
              if self.ie_open:
                  self.ie.plot(X_c_d, Y_c_d, 'b', lw=0.5)
                  self.ie.plot(X_c_up, Y_c_up, 'c', lw=0.5)
  
              fig.set_xlim(xmin, xmax)
              fig.set_ylim(ymin, ymax)
          # plot best-fit direction
          else:
              if "specimen_dec" in list(pars.keys()) and "specimen_inc" in list(pars.keys()):
                  dec = pars["specimen_dec"]
                  inc = pars["specimen_inc"]
              elif "dec" in list(pars.keys()) and "inc" in list(pars.keys()):
                  dec = pars["dec"]
                  inc = pars["inc"]
              else:
                  print(("either dec or inc missing from values recived for high level plot, was given %s, aborting" % (
                      str(pars))))
                  return
              XY = pmag.dimap(float(dec), float(inc))
              if inc > 0:
                  if 'color' in list(pars.keys()):
                      FC = pars['color']
                      EC = pars['color']
                      SIZE = 15*self.GUI_RESOLUTION
                  else:
                      FC = 'grey'
                      EC = 'grey'
                      SIZE = 15*self.GUI_RESOLUTION
              else:
                  if 'color' in list(pars.keys()):
                      FC = 'white'
                      EC = pars['color']
                      SIZE = 15*self.GUI_RESOLUTION
                  else:
                      FC = 'white'
                      EC = 'grey'
                      SIZE = 15*self.GUI_RESOLUTION
              fig.scatter([XY[0]], [XY[1]], marker='o', edgecolor=EC,
                          facecolor=FC, s=SIZE, lw=1, clip_on=False)
              if self.ie_open:
                  self.ie.scatter([XY[0]], [XY[1]], marker='o', edgecolor=EC,
                                  facecolor=FC, s=SIZE, lw=1, clip_on=False)