Skip to content

Commit 48d9908

Browse files
committed
fixed function
1 parent 8a43935 commit 48d9908

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ def save_figure(plt, fig, mode, git_root, path_figures, filename, show=False, tr
139139
bbox_inches = 'tight', pad_inches = 0.062,
140140
transparent=transparency, dpi=200)
141141
else:
142-
142+
if transparency is False:
143+
plt.style.use('default')
143144
plt.savefig(git_root + path_figures + filename + "-dark.png",
144145
bbox_inches = 'tight', pad_inches = 0.062,
145146
transparent=transparency, dpi=200)

0 commit comments

Comments
 (0)