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

Function run_fig

tests/test_optional/optional_utils.py:19–24  ·  view source on GitHub ↗
(fig)

Source from the content-addressed store, hash-verified

17
18
19def run_fig(fig):
20 renderer = PlotlyRenderer()
21 exporter = Exporter(renderer)
22 print(exporter)
23 exporter.run(fig)
24 return renderer
25
26
27class NumpyTestUtilsMixin(object):

Callers 14

test_annotationsFunction · 0.85
test_blank_subplotsFunction · 0.85
test_simple_scatterFunction · 0.85
test_double_scatterFunction · 0.85
test_vertical_barFunction · 0.85
test_horizontal_barFunction · 0.85
test_h_and_v_barsFunction · 0.85
test_even_linear_scaleFunction · 0.85
test_simple_lineFunction · 0.85
test_complicated_lineFunction · 0.85
test_line_dataFunction · 0.85
test_lines_dataFunction · 0.85

Calls 3

runMethod · 0.95
PlotlyRendererClass · 0.90
ExporterClass · 0.90

Tested by 14

test_annotationsFunction · 0.68
test_blank_subplotsFunction · 0.68
test_simple_scatterFunction · 0.68
test_double_scatterFunction · 0.68
test_vertical_barFunction · 0.68
test_horizontal_barFunction · 0.68
test_h_and_v_barsFunction · 0.68
test_even_linear_scaleFunction · 0.68
test_simple_lineFunction · 0.68
test_complicated_lineFunction · 0.68
test_line_dataFunction · 0.68
test_lines_dataFunction · 0.68