Add patch for compatibility with newer numpy versions #21
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,11 @@ import sys
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
from matplotlib.lines import Line2D
|
from matplotlib.lines import Line2D
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
try:
|
||||||
|
np.bool
|
||||||
|
except AttributeError:
|
||||||
|
# monkey patch to be able to use with older seaborn version
|
||||||
|
np.bool = np.bool_
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from scipy.signal import (
|
from scipy.signal import (
|
||||||
butter,
|
butter,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue