fix plot_dataframe.py lint warnings

This commit is contained in:
Janne Sinivirta 2017-12-17 14:42:41 +02:00
parent 2770808b82
commit 771a5ea26b

View File

@ -1,11 +1,11 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
import matplotlib # Install PYQT5 manually if you want to test this helper function import matplotlib # Install PYQT5 manually if you want to test this helper function
matplotlib.use("Qt5Agg")
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
from freqtrade import exchange, analyze from freqtrade import exchange, analyze
matplotlib.use("Qt5Agg")
def plot_analyzed_dataframe(pair: str) -> None: def plot_analyzed_dataframe(pair: str) -> None:
""" """
@ -52,4 +52,3 @@ def plot_analyzed_dataframe(pair: str) -> None:
if __name__ == '__main__': if __name__ == '__main__':
plot_analyzed_dataframe('BTC_ETH') plot_analyzed_dataframe('BTC_ETH')