Commit 9ce10105 authored by Andreas Freise's avatar Andreas Freise
Browse files

adding QT backend selection, so that we don't depend on --pylab option

parent b9b819f2
from pykat import finesse from pykat import finesse
from pykat.commands import * from pykat.commands import *
import copy import copy
import pylab as pl
from collections import namedtuple from collections import namedtuple
from collections import OrderedDict from collections import OrderedDict
import matplotlib import matplotlib
BACKEND = 'Qt4Agg'
matplotlib.use(BACKEND)
import pylab as pl
formatter = matplotlib.ticker.EngFormatter(unit='', places=0) formatter = matplotlib.ticker.EngFormatter(unit='', places=0)
formatter.ENG_PREFIXES[-6] = 'u' formatter.ENG_PREFIXES[-6] = 'u'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment