Skip to content

Commit

Permalink
Remove decorate=True from some satplots
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Nov 13, 2024
1 parent 31fc958 commit d352eeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions melodies_monet/plots/satplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def make_spatial_overlay(df, vmodel, column_o=None, label_o=None, column_m=None,
cax.tick_params(labelsize=text_kwargs['fontsize']*0.8,length=10.0,width=2.0,grid_linewidth=2.0)

#plt.tight_layout(pad=0)
savefig(outname + '.png',loc=4, logo_height=100, decorate=True, bbox_inches='tight', dpi=150)
savefig(outname + '.png',loc=4, logo_height=100, bbox_inches='tight', dpi=150)
return ax

def calculate_boxplot(df, df_reg=None,column=None, label=None, plot_dict=None, comb_bx = None, label_bx = None):
Expand Down Expand Up @@ -671,7 +671,7 @@ def make_boxplot(comb_bx, label_bx, ylabel = None, vmin = None, vmax = None, out
ax.set_ylim(ymin = vmin, ymax = vmax)

plt.tight_layout()
savefig(outname + '.png',loc=4, logo_height=100, decorate=True, bbox_inches='tight', dpi=200)
savefig(outname + '.png',loc=4, logo_height=100, bbox_inches='tight', dpi=200)

def make_spatial_bias_gridded(df, column_o=None, label_o=None, column_m=None,
label_m=None, ylabel = None, vmin=None,
Expand Down Expand Up @@ -777,5 +777,5 @@ def make_spatial_bias_gridded(df, column_o=None, label_o=None, column_m=None,
cax.tick_params(labelsize=text_kwargs['fontsize']*0.8,length=10.0,width=2.0,grid_linewidth=2.0)

#plt.tight_layout(pad=0)
savefig(outname + '.png',loc=4, logo_height=100, decorate=True, bbox_inches='tight', dpi=150)
savefig(outname + '.png',loc=4, logo_height=100, bbox_inches='tight', dpi=150)
return ax

0 comments on commit d352eeb

Please sign in to comment.