diff --git a/.gitignore b/.gitignore index 8d3ac50..de56d81 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,5 @@ .direnv .vscode saved_results.json -*.eps +*.pdf diff --git a/visualize.py b/visualize.py index 5a0bf80..d8e8bbd 100644 --- a/visualize.py +++ b/visualize.py @@ -159,7 +159,7 @@ def trendline(df: pd.DataFrame) -> None: plt.legend(prop={'family': FONT_FAMILY}) # Save the plot - plt.savefig('size-trendline.eps', format='eps', dpi=1200) + plt.savefig('size-trendline.pdf', format='pdf', dpi=1200) def heatmap_models_plus_techniues(df: pd.DataFrame, color: str, title: Optional[str]= None, get_weight: Optional[Callable]= None) -> None: @@ -226,7 +226,7 @@ def heatmap_models_plus_techniues(df: pd.DataFrame, color: str, title: Optional[ plt.yticks(fontname=FONT_FAMILY) plt.tight_layout() - plt.savefig(f"modeles-plus-techniques-heatmap{'' if not title else '-' + title.lower()}.eps", format='eps', dpi=1200) + plt.savefig(f"modeles-plus-techniques-heatmap{'' if not title else '-' + title.lower()}.pdf", format='pdf', dpi=1200) def heatmap_techniques(df: pd.DataFrame, color: str, title: Optional[str]= None, get_weight: Optional[Callable]= None) -> None: @@ -287,7 +287,7 @@ def heatmap_techniques(df: pd.DataFrame, color: str, title: Optional[str]= None, plt.yticks(fontname=FONT_FAMILY) plt.tight_layout() - plt.savefig(f"techniques-heatmap{'' if not title else '-' + title.lower()}.eps", format='eps', dpi=1200) + plt.savefig(f"techniques-heatmap{'' if not title else '-' + title.lower()}.pdf", format='pdf', dpi=1200) def size(sizes: list[float]) -> float: