matplotlib.use() must be called before pyplot import

This commit is contained in:
Janne Sinivirta 2017-12-18 07:08:49 +02:00
parent b4cc1fa470
commit f4a8783262

View File

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