Skip to content

Commit

Permalink
fix import of numpy.asarray (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Letellier-Duchesne authored Jul 19, 2021
1 parent 69cbf2a commit d0af520
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions energy_pandas/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
from matplotlib import cm
from matplotlib import pyplot as plt
from matplotlib.colors import LightSource
from numpy import ndarray
from numpy.core._asarray import asarray
from numpy import asarray, ndarray
from pandas.plotting._matplotlib.tools import create_subplots, flatten_axes

logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
outdated~=0.2.1
pint~=0.17
tabulate~=0.8.9
numpy~=1.20.3
numpy # No special version needed
matplotlib>=3.2 # because of TwoSlopesNorm
scikit-learn~=0.24.2
tsam~=1.1.0
Expand Down

0 comments on commit d0af520

Please sign in to comment.