1
0
Fork 0
mirror of https://github.com/Athemis/PyDSF.git synced 2025-04-19 03:19:13 +00:00

Migrated to PyQT5; Added option to reset data list; Added progress indicator

This commit is contained in:
Alexander Minges 2015-01-30 15:00:16 +01:00
parent 6268862334
commit 926fb01502
7 changed files with 275 additions and 268 deletions

View file

@ -1,11 +1,11 @@
#! /usr/bin/env python2
# -*- coding: utf-8 -*-
import os
import csv
try:
import matplotlib as mpl
mpl.use('Qt4Agg')
mpl.use('Qt5Agg')
import matplotlib.ticker as ticker
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
@ -17,8 +17,6 @@ try:
except ImportError:
raise ImportError('----- PeakUtils must be installed. -----')
#from peakdetect import *
try:
import numpy as np
except ImportError:
@ -195,7 +193,7 @@ class Experiment:
if color_range:
self.color_range = color_range
else:
self.color_range = None
self.color_range = (self.t1, self.t2)
self.plates = []