class_docstr: Compute boxplot statistics
  
  {usage}
  
  Parameters
  ----------
  {common_parameters}
  coef : float, default=1.5
      Length of the whiskers as a multiple of the Interquartile
      Range.
  
  See Also
  --------
  plotnine.geoms.geom_boxplot
class_docstr_tok: ["Compute","boxplot","statistics","{","usage","}","Parameters","--","--","--","--","--","{","common_parameters","}","coef",":","float",",","default=1.5","Length","of","the","whiskers","as","a","multiple","of","the","Interquartile","Range",".","See","Also","--","--","--","--","plotnine.geoms.geom_boxplot"]
code: def setup_params(self, data):
      if self.params["width"] is None:
          x = data["x"] if "x" in data else 0
          self.params["width"] = resolution(x, False) * 0.75
      return self.params
  
file_path: plotnine/plotnine/stats/stat_boxplot.py
imports: import numpy
  import pandas
  from .._utils import resolution
  from ..doctools import document
  from .stat import stat
label_desc: Use image node_id 2 for calling the stat_boxplot obj's underlying member method code with example usage: obj.setup_params(data) and returns: self