code: def make_quartiles(q1, q3):
      """
      Makes the upper and lower quartiles for a violin plot.
      """
      return graph_objs.Scatter(
          x=[0, 0],
          y=[q1, q3],
          text=[
              "lower-quartile: " + "{:0.2f}".format(q1),
              "upper-quartile: " + "{:0.2f}".format(q3),
          ],
          mode="lines",
          line=graph_objs.scatter.Line(width=4, color="rgb(0,0,0)"),
          hoverinfo="text",
      )
  
file_path: plotly.py/packages/python/plotly/plotly/figure_factory/_violin.py
imports: from numbers import Number
  from plotly import exceptions, optional_imports
  import plotly.colors
  from plotly.graph_objs import graph_objs
  from plotly.subplots import make_subplots
label_desc: Use image node_id 5 for calling a global function with example usage: make_quartiles(q1, q3) and returns: graph_objs