Skip to content

Commit

Permalink
feat: save table instead of showing it
Browse files Browse the repository at this point in the history
  • Loading branch information
0x64746b committed Jan 31, 2025
1 parent e721e2d commit 6bb8312
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 3 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ name = "pip_conf_index_global"
matplotlib = "*"
pandas = "*"
great-tables = "*"
selenium = "*"

[dev-packages]

Expand Down
118 changes: 117 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified output/X-332_Target_Speeds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/plot_speeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def interpolate_beat_and_run(sparse_speeds: pd.DataFrame):
#.tab_stubhead(label="TWS\TWA")
.opt_stylize(style=1)
.opt_horizontal_padding(scale=2)
).show()
).save('../output/X-332_Target_Speeds.png', scale=4.0)

# Plot the whole thing
fig, ax = plt.subplots(figsize=(10, 10), subplot_kw={'projection': 'polar'})
Expand All @@ -57,4 +57,3 @@ def interpolate_beat_and_run(sparse_speeds: pd.DataFrame):
plt.legend(title='TWS', loc='lower right')

plt.savefig('../output/X-332_Polar_Diagram.svg')
plt.show()

0 comments on commit 6bb8312

Please sign in to comment.