Skip to content

Commit

Permalink
fix: some broken logger calls
Browse files Browse the repository at this point in the history
  • Loading branch information
hollandjg committed Mar 13, 2024
1 parent 077c1b5 commit db8ea2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/icesat2waves/local_modules/m_colormanager_ph3.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(self, path=None, name=None):
setattr(self, k, v)
except:
_logger.debug('fail load theme, fall back to default theme')
_logger.debug("path: %s", path+'mhell_colortheme17')
_logger.debug("path: %s%s", path, 'mhell_colortheme17')
self.default_colors()

else:
Expand Down
6 changes: 3 additions & 3 deletions src/icesat2waves/local_modules/m_general_ph3.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def save(self, name=None, path=None, verbose=True):
extension = ".pdf"
full_name = (os.path.join(savepath, name)) + extension
self.fig.savefig(full_name, bbox_inches="tight", format="pdf", dpi=180)
_logger.info("save at: " + name)
_logger.info("save at: %s", name)

def save_pup(self, name=None, path=None):
name = re.sub("\.", "_", name)
Expand All @@ -148,7 +148,7 @@ def save_pup(self, name=None, path=None):
extension = ".pdf"
full_name = (os.path.join(savepath, name)) + extension
self.fig.savefig(full_name, bbox_inches="tight", format="pdf", dpi=300)
_logger.info("save at: ", full_name)
_logger.info("save at: %s", full_name)

def save_light(self, name=None, path=None):

Expand All @@ -164,7 +164,7 @@ def save_light(self, name=None, path=None):
extension = ".png"
full_name = (os.path.join(savepath, name)) + extension
self.fig.savefig(full_name, bbox_inches="tight", format="png", dpi=180)
_logger.info("save with: ", name)
_logger.info("save with: %s", name)


class SubplotRoutines(FigureAxisXY):
Expand Down

0 comments on commit db8ea2b

Please sign in to comment.