MCPcopy Index your code
hub / github.com/plotly/plotly.py / ygridoff

Function ygridoff

templategen/definitions.py:654–665  ·  view source on GitHub ↗

Template to disable y-grid by default

()

Source from the content-addressed store, hash-verified

652
653
654def ygridoff():
655 """
656 Template to disable y-grid by default
657 """
658 # Create blank template
659 template = Template()
660 template.layout.yaxis.showgrid = False
661
662 # Automargin for pie chart
663 template.data.pie = [{"automargin": True}]
664
665 return template
666
667
668builders["ygridoff"] = ygridoff

Callers

nothing calls this directly

Calls 1

TemplateClass · 0.90

Tested by

no test coverage detected