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

Function xgridoff

templategen/definitions.py:635–648  ·  view source on GitHub ↗

Template to disable x-grid by default

()

Source from the content-addressed store, hash-verified

633
634
635def xgridoff():
636 """
637 Template to disable x-grid by default
638 """
639 # Create blank template
640 template = Template()
641 template.layout.xaxis.showgrid = False
642 template.layout.xaxis.title.standoff = 15
643 template.layout.yaxis.title.standoff = 15
644
645 # Automargin for pie chart
646 template.data.pie = [{"automargin": True}]
647
648 return template
649
650
651builders["xgridoff"] = xgridoff

Callers

nothing calls this directly

Calls 1

TemplateClass · 0.90

Tested by

no test coverage detected