diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2024-03-27 13:26:22 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2024-03-27 13:26:22 -0600 |
commit | 5e3955973de93067b50d66d4fc31654ce2a63383 (patch) | |
tree | bda66249dbe88a985af326c86e43522279763aa3 /api.py | |
parent | dd9f8da759e0db40e2c93abcadcd7b658ae6f649 (diff) |
hide labels
Diffstat (limited to 'api.py')
-rw-r--r-- | api.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -132,7 +132,14 @@ def plot_data(x_data, y_data, std_dev_data, color_picker, labels, df, ax.set_yscale(y_axis_scale) if special_mode: - ax.grid(linestyle="dashed", dashes=(5,3)) + #ax.grid(linestyle="dashed", dashes=(5,3)) + + # Hide title, x label, y label + ax.legend().set_visible(False) + ax.set_title("") + ax.set_xlabel("") + ax.set_ylabel("") + ax.spines[['right', 'top']].set_visible(False) ax.tick_params(axis='x', length=0) ax.tick_params(axis='y', length=0) |