Add splice_cycles to electrochemistry module
This commit is contained in:
parent
d95b670af7
commit
b8cd8e81af
2 changed files with 64 additions and 19 deletions
|
|
@ -315,7 +315,8 @@ def prettify_gc_plot(fig, ax, options=None):
|
|||
############################# LEGEND #############################
|
||||
##################################################################
|
||||
|
||||
ax.get_legend().remove()
|
||||
if ax.get_legend():
|
||||
ax.get_legend().remove()
|
||||
|
||||
return fig, ax
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue