Commit 41a8b4ff authored by Carl Schaffer's avatar Carl Schaffer
Browse files

fixing white borders

parent 0d87ed7a
......@@ -202,5 +202,5 @@ def make_gris_locplots(folder):
fig, ax = r.plot_location()
fn_out = f"gris_{r.date.strftime('%Y%m%d')}_{r.runnumber:03d}_location.png"
fig.savefig(
join(outfolder, fn_out), bbox_inches=0, pad_inches=-0.01, dpi=100
join(outfolder, fn_out), bbox_inches='tight', pad_inches=-0.01, dpi=100, facecolor='black'
)
......@@ -135,14 +135,14 @@ def make_loc_plot(coords, date, uncertainties=None):
plt.ylabel("")
# Define x & y axis
axes.set_xlim([-1050, 1050])
axes.set_ylim([-1050, 1050])
axes.set_xlim([-1100, 1100])
axes.set_ylim([-1100, 1100])
axes.tick_params(
axis="y",
direction="in",
pad=-1,
pad=-5,
length=0,
labelsize=4,
labelsize=6,
colors="red",
grid_linestyle="dotted",
grid_linewidth=0.5,
......@@ -151,9 +151,9 @@ def make_loc_plot(coords, date, uncertainties=None):
axes.tick_params(
axis="x",
direction="in",
pad=-4.5,
pad=-5,
length=0,
labelsize=4,
labelsize=6,
colors="red",
grid_linestyle="dotted",
grid_linewidth=0.5,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment