MCPcopy Create free account
hub / github.com/plotly/plotly.py / make_YAxis

Function make_YAxis

plotly/figure_factory/_violin.py:140–154  ·  view source on GitHub ↗

Makes the y-axis for a violin plot.

(yaxis_title)

Source from the content-addressed store, hash-verified

138
139
140def make_YAxis(yaxis_title):
141 """
142 Makes the y-axis for a violin plot.
143 """
144 yaxis = graph_objs.layout.YAxis(
145 title=yaxis_title,
146 showticklabels=True,
147 autorange=True,
148 ticklen=4,
149 showline=True,
150 zeroline=False,
151 showgrid=False,
152 mirror=False,
153 )
154 return yaxis
155
156
157def violinplot(vals, fillcolor="#1f77b4", rugplot=True):

Callers 4

violin_no_colorscaleFunction · 0.85
violin_colorscaleFunction · 0.85
violin_dictFunction · 0.85
create_violinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected