updated potential summary figure

This commit is contained in:
nkoch1 2023-04-17 12:27:00 -04:00
parent 896790390a
commit 041659668f
4 changed files with 3 additions and 3 deletions

View File

@ -258,11 +258,11 @@ def plot_quadrant(ax):
# %% with legend
scheme_style()
import matplotlib.image as mpimg
img = mpimg.imread('./Figures/summary_diagram.png')
img = mpimg.imread('./Figures/summary_diagram2.png')
inset_ylim = (0, 100)
lfsize = 8
fig = plt.figure(figsize=cm2inch(17.2, 12))
gs = gridspec.GridSpec(14, 3, top=0.95, bottom=0.1, left=0.15, right=0.95, hspace=0.4, wspace=0.2)
gs = gridspec.GridSpec(15, 3, top=0.95, bottom=0.1, left=0.15, right=0.95, hspace=0.4, wspace=0.2)
# gs0 = gs[1:13, 2].subgridspec(3, 1, hspace=0.9, wspace=0.25) # width_ratios=[0.3, 0.3,0.3], height_ratios=[0.35],
ax1 = fig.add_subplot(gs[1:4,2])
@ -314,7 +314,7 @@ ax3.annotate('', (0.55, 55), (0.3, 90),
ax3.text(x=0.05, y=110, s='$\\uparrow$ AUC $\\downarrow$ rheobase', fontsize=lfsize)
# fig.set_size_inches(cm2inch(17, 12))
fig.savefig('./Figures/summary_fig.pdf', dpi=300, bbox_inches='tight') # , dpi=fig.dpi #pdf #eps
fig.savefig('./Figures/summary_fig.jpg', dpi=300, bbox_inches='tight') # , dpi=fig.dpi #pdf #eps
#
plt.show()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 188 KiB