Skip to content

Commit

Permalink
switching from imp to importlib
Browse files Browse the repository at this point in the history
  • Loading branch information
florisvb committed Apr 23, 2024
1 parent 09a6467 commit 3c35da0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion figurefirst/mpl_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
except:
import figurefirst_user_parameters
else:
import imp
import importlib as imp

figurefirst_user_parameters = imp.load_source(
"figurefirst_user_parameters", figurefirst_user_parameters
Expand Down
2 changes: 1 addition & 1 deletion figurefirst/regenerate.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import dill as pickle
import numpy as np
import imp
import importlib as imp

try:
from . import svg_to_axes
Expand Down
2 changes: 1 addition & 1 deletion figurefirst/svg_to_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
except:
import figurefirst_user_parameters
else:
import imp
import importlib as imp

figurefirst_user_parameters = imp.load_source(
"figurefirst_user_parameters", figurefirst_user_parameters
Expand Down

0 comments on commit 3c35da0

Please sign in to comment.