diff --git a/.idea/csv-editor.xml b/.idea/csv-editor.xml index 5fc756acc3e9476265a7b1c9404bf76264e9086a..4fb626a4e915e09e3842146d648125f07fb64358 100644 --- a/.idea/csv-editor.xml +++ b/.idea/csv-editor.xml @@ -87,48 +87,6 @@ </Attribute> </value> </entry> - <entry key="$PROJECT_DIR$/data/guess/guess.1.csv"> - <value> - <Attribute> - <option name="separator" value="," /> - </Attribute> - </value> - </entry> - <entry key="$PROJECT_DIR$/data/guess/guess.2.csv"> - <value> - <Attribute> - <option name="separator" value="," /> - </Attribute> - </value> - </entry> - <entry key="$PROJECT_DIR$/data/guess/guess.csv"> - <value> - <Attribute> - <option name="separator" value="," /> - </Attribute> - </value> - </entry> - <entry key="$PROJECT_DIR$/data/guess/guess.old.csv"> - <value> - <Attribute> - <option name="separator" value="," /> - </Attribute> - </value> - </entry> - <entry key="$PROJECT_DIR$/data/guess/guess.strategy.csv"> - <value> - <Attribute> - <option name="separator" value="," /> - </Attribute> - </value> - </entry> - <entry key="$PROJECT_DIR$/data/ring/ring.2.a.csv"> - <value> - <Attribute> - <option name="separator" value="," /> - </Attribute> - </value> - </entry> </map> </option> </component> diff --git a/src/dictator/dictator_draw_boxplot.py b/src/dictator/dictator_draw_boxplot.py index 3bb46025ee2634d2d70bef586f8351a2fd2e284d..addb169421ac02ca7da45f9ba7ec7732b31e7ca9 100644 --- a/src/dictator/dictator_draw_boxplot.py +++ b/src/dictator/dictator_draw_boxplot.py @@ -41,4 +41,4 @@ plt.ylabel("Share of money allocated to oneself") plt.title("Distribution of self-allocated share per model in the dictator game") # Sauvegarde et affichage -plt.savefig("../../figures/dictator/dictator_boxplot.svg", format="svg") \ No newline at end of file +plt.savefig("../../figures/dictator/dictator_boxplot.pdf", format="pdf") \ No newline at end of file diff --git a/src/dictator/dictator_draw_violin.py b/src/dictator/dictator_draw_violin.py index 6b29ab5505f2011770961b89549730aeba80c262..e169e8577d152281d4dab60258363182f06d3461 100644 --- a/src/dictator/dictator_draw_violin.py +++ b/src/dictator/dictator_draw_violin.py @@ -45,4 +45,4 @@ plt.title("Distribution of personal share by model in the dictator game") plt.legend() # Save and display -plt.savefig("../../figures/dictator/dictator_violin.svg", format="svg") \ No newline at end of file +plt.savefig("../../figures/dictator/dictator_violin.pdf", format="pdf") \ No newline at end of file diff --git a/src/dictator/dictator_temperature_draw.py b/src/dictator/dictator_temperature_draw.py index e490b18b40f13f4b72ca572d1961eb694f3d9828..b50232443801a7ede2b13605a4214fe5239992ef 100644 --- a/src/dictator/dictator_temperature_draw.py +++ b/src/dictator/dictator_temperature_draw.py @@ -50,4 +50,4 @@ plt.ylim(20, 70) # Ensure the y-axis is between 0 and 100 plt.grid(True) # Save the figure as an SVG file -plt.savefig('../../figures/dictator/dictator_temperature.svg', format='svg') \ No newline at end of file +plt.savefig('../../figures/dictator/dictator_temperature.pdf', format='pdf') \ No newline at end of file diff --git a/src/guess/guess_draw_2loop.py b/src/guess/guess_draw_2loop.py index a05b901c7fa53f17cc9d0c083ff8f37194b24150..7f513c2c3a0ea04eb5ec476ae4eada3ebbc166be 100644 --- a/src/guess/guess_draw_2loop.py +++ b/src/guess/guess_draw_2loop.py @@ -70,4 +70,4 @@ plt.grid(True) plt.ylim(0, 1) # Points are between 0 and 2 # Save the figure as an SVG file -plt.savefig('../../figures/guess/guess_2loop.svg', format='svg') +plt.savefig('../../figures/guess/guess_2loop.pdf', format='pdf') diff --git a/src/guess/guess_draw_3loop.py b/src/guess/guess_draw_3loop.py index 9415e9cc631ebd74cfdebffa60cdb97411d8c08f..6d91f4bcbefd4ae97ebce68a042287e0d6ea61e3 100644 --- a/src/guess/guess_draw_3loop.py +++ b/src/guess/guess_draw_3loop.py @@ -70,4 +70,4 @@ plt.xlim(1, 10) plt.ylim(0, 1) # Points are between 0 and 2 # Save the figure as an SVG file -plt.savefig('../../figures/guess/guess_3loop.svg', format='svg') +plt.savefig('../../figures/guess/guess_3loop.pdf', format='pdf') diff --git a/src/guess/guess_draw_constant.py b/src/guess/guess_draw_constant.py index 053640e06d2fe24213a22b1126a406a5c77b5a41..7515cc56ea8264d2fadb9559a2d69826052626aa 100644 --- a/src/guess/guess_draw_constant.py +++ b/src/guess/guess_draw_constant.py @@ -64,4 +64,4 @@ plt.grid(True) plt.ylim(0, 1) # Points are between 0 and 1 # Save the figure as an SVG file -plt.savefig('../../figures/guess/guess_constant.svg', format='svg') +plt.savefig('../../figures/guess/guess_constant.pdf', format='pdf') diff --git a/src/rps/rps_draw_2loop.py b/src/rps/rps_draw_2loop.py index 39e340030cd917e81830d1e10cb80a56381bdaf9..926e4f870520fb6ab5cd142f2e45ae3bcd4a0056 100644 --- a/src/rps/rps_draw_2loop.py +++ b/src/rps/rps_draw_2loop.py @@ -68,4 +68,4 @@ plt.grid(True) plt.ylim(0, 2) # Points are between 0 and 2 # Save the figure as an SVG file -plt.savefig('../../figures/rps/rps_2loop.svg', format='svg') +plt.savefig('../../figures/rps/rps_2loop.pdf', format='pdf') diff --git a/src/rps/rps_draw_3loop.py b/src/rps/rps_draw_3loop.py index d49c06a8fc943bf95db6a83980cfae093630cb58..ff095471b85ee3f723fc82d1cf2d1863fa62f0d1 100644 --- a/src/rps/rps_draw_3loop.py +++ b/src/rps/rps_draw_3loop.py @@ -67,4 +67,4 @@ plt.grid(True) plt.ylim(0, 2) # Points are between 0 and 2 # Save the figure as an SVG file -plt.savefig('../../figures/rps/rps_3loop.svg', format='svg') +plt.savefig('../../figures/rps/rps_3loop.pdf', format='pdf') diff --git a/src/rps/rps_draw_constant.py b/src/rps/rps_draw_constant.py index bf58b11715862d9af14a088f017c56a8c645edf9..ffd9866d8239575c183fc78e3e6cbd05a88dceb8 100644 --- a/src/rps/rps_draw_constant.py +++ b/src/rps/rps_draw_constant.py @@ -63,4 +63,4 @@ plt.grid(True) plt.ylim(0, 2) # Points are between 0 and 2 # Save the figure as an SVG file -plt.savefig('../../figures/rps/rps_constant.svg', format='svg') +plt.savefig('../../figures/rps/rps_constant.pdf', format='pdf')