Skip to content

Commit

Permalink
matplotlib.use() must be called before pyplot import
Browse files Browse the repository at this point in the history
  • Loading branch information
vertti committed Dec 18, 2017
1 parent b4cc1fa commit f4a8783
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/plot_dataframe.py
Original file line number Diff line number Diff line change
@@ -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:
"""
Expand Down

0 comments on commit f4a8783

Please sign in to comment.