Skip to content

Commit

Permalink
Forcing TKAgg backend for matplotlib
Browse files Browse the repository at this point in the history
  • Loading branch information
David Abel committed Apr 21, 2018
1 parent c6f1fec commit e089dd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion simple_rl/tasks/gather/GatherStateClass.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
from simple_rl.mdp.StateClass import State
import numpy as np
import time

import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt # NOTE: for debugging

COLORS = {
Expand Down
1 change: 1 addition & 0 deletions simple_rl/utils/chart_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import sys
import os
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as pyplot
import numpy as np
import subprocess
Expand Down

0 comments on commit e089dd9

Please sign in to comment.