mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 20:35:00 +00:00
feat: Update plot save paths to website assets directory
This commit is contained in:
parent
781a40df52
commit
8fdcd92260
1 changed files with 2 additions and 2 deletions
|
@ -141,8 +141,8 @@ class BenchmarkPlotter:
|
||||||
plt.tight_layout(pad=1.0)
|
plt.tight_layout(pad=1.0)
|
||||||
|
|
||||||
def save_and_display(self, fig: plt.Figure):
|
def save_and_display(self, fig: plt.Figure):
|
||||||
plt.savefig("tmp_over_time.png")
|
plt.savefig("aider/website/assets/models-over-time.png")
|
||||||
plt.savefig("tmp_over_time.svg")
|
plt.savefig("aider/website/assets/models-over-time.svg")
|
||||||
imgcat(fig)
|
imgcat(fig)
|
||||||
|
|
||||||
def plot(self, yaml_file: str):
|
def plot(self, yaml_file: str):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue