MCPcopy Create free account
hub / github.com/src-d/hercules / get_plot_path

Function get_plot_path

python/labours/plotting.py:45–51  ·  view source on GitHub ↗
(base: str, name: str)

Source from the content-addressed store, hash-verified

43
44
45def get_plot_path(base: str, name: str) -> str:
46 root, ext = os.path.splitext(base)
47 if not ext:
48 ext = ".png"
49 output = os.path.join(root, name + ext)
50 os.makedirs(os.path.dirname(output), exist_ok=True)
51 return output
52
53
54def deploy_plot(title: str, output: str, background: str, tight: bool = True) -> None:

Callers 7

plot_burndownFunction · 0.90
show_devsFunction · 0.90
show_devs_effortsFunction · 0.90
show_old_vs_newFunction · 0.90
plot_ownershipFunction · 0.90
plot_overwrites_matrixFunction · 0.90
show_sentiment_statsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected