eps -> pdf

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-09-30 15:51:15 +02:00
parent 76b2b436be
commit 74be23050d
2 changed files with 4 additions and 4 deletions

View File

@@ -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: