Skip to content

Commit 84c4798

Browse files
authored
Create figure in current directory (#273)
* Create figure in current directory * Make PNG files in current directory
1 parent b052d06 commit 84c4798

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

examples/des_y1_3x2pt/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
cobaya_evaluate_output*
2+
*.png

examples/des_y1_3x2pt/des_y1_3x2pt_PT.py

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def run_likelihood() -> None:
295295
[a.legend(fontsize="small") for a in ax]
296296

297297
fig.suptitle("PT Cls, including IA, galaxy bias, magnification")
298-
fig.savefig("plots/pt_cls.png", facecolor="white", dpi=300)
298+
fig.savefig("pt_cls.png", facecolor="white", dpi=300)
299299

300300
plt.show()
301301

examples/des_y1_3x2pt/des_y1_cosmic_shear_TATT.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def run_likelihood() -> None:
211211
# plt.xlim(right=5e3)
212212
# plt.ylim(bottom=1e-12)
213213
plt.title("TATT IA")
214-
plt.savefig("plots/tatt.png", facecolor="white", dpi=300)
214+
plt.savefig("tatt.png", facecolor="white", dpi=300)
215215

216216
plt.show()
217217

0 commit comments

Comments
 (0)