Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
19
def
run_fig(fig):
20
renderer = PlotlyRenderer()
21
exporter = Exporter(renderer)
22
print(exporter)
23
exporter.run(fig)
24
return
renderer
25
26
27
class
NumpyTestUtilsMixin(object):
Callers
14
test_annotations
Function · 0.85
test_blank_subplots
Function · 0.85
test_simple_scatter
Function · 0.85
test_double_scatter
Function · 0.85
test_vertical_bar
Function · 0.85
test_horizontal_bar
Function · 0.85
test_h_and_v_bars
Function · 0.85
test_even_linear_scale
Function · 0.85
test_simple_line
Function · 0.85
test_complicated_line
Function · 0.85
test_line_data
Function · 0.85
test_lines_data
Function · 0.85
Calls
3
run
Method · 0.95
PlotlyRenderer
Class · 0.90
Exporter
Class · 0.90
Tested by
14
test_annotations
Function · 0.68
test_blank_subplots
Function · 0.68
test_simple_scatter
Function · 0.68
test_double_scatter
Function · 0.68
test_vertical_bar
Function · 0.68
test_horizontal_bar
Function · 0.68
test_h_and_v_bars
Function · 0.68
test_even_linear_scale
Function · 0.68
test_simple_line
Function · 0.68
test_complicated_line
Function · 0.68
test_line_data
Function · 0.68
test_lines_data
Function · 0.68