Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sdc
kis_tools
Commits
41a8b4ff
Commit
41a8b4ff
authored
Mar 04, 2021
by
Carl Schaffer
Browse files
fixing white borders
parent
0d87ed7a
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kis_tools/gris/plotting.py
View file @
41a8b4ff
...
...
@@ -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
:
03
d
}
_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'
)
kis_tools/util/locplot.py
View file @
41a8b4ff
...
...
@@ -135,14 +135,14 @@ def make_loc_plot(coords, date, uncertainties=None):
plt
.
ylabel
(
""
)
# Define x & y axis
axes
.
set_xlim
([
-
10
5
0
,
10
5
0
])
axes
.
set_ylim
([
-
10
5
0
,
10
5
0
])
axes
.
set_xlim
([
-
1
1
00
,
1
1
00
])
axes
.
set_ylim
([
-
1
1
00
,
1
1
00
])
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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment