matplotlib.use() must be called before pyplot import
This commit is contained in:
parent
b4cc1fa470
commit
f4a8783262
@ -1,11 +1,10 @@
|
|||||||
#!/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:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user