Skip to content

Commit 2f10a61

Browse files
author
Daniel Borup
committed
Clean up of changes prior to merge
1 parent 7778218 commit 2f10a61

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

display/GPI/CrossSection_GPI.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class MatplotDisplay2(gpi.GenericWidgetGroup):
5353
def __init__(self, title, parent=None):
5454
super().__init__(title, parent)
5555

56-
#self.data = self.get_data2()
5756
self._data = None
5857
self.create_main_frame()
5958
self.on_draw()
@@ -90,13 +89,6 @@ def create_main_frame(self):
9089
vbox.addWidget(self.mpl_toolbar)
9190
self.setLayout(vbox)
9291

93-
# def get_data2(self):
94-
# return np.arange(20).reshape([4, 5]).copy()
95-
#
96-
# def set_data2(self,data):
97-
# self._data = data
98-
# self.on_draw()
99-
10092
def on_draw(self):
10193
self.fig.clear()
10294
self.axes = self.fig.add_subplot(111)
@@ -107,8 +99,6 @@ def on_draw(self):
10799
if self._data is None:
108100
return
109101

110-
# self.fig.hold(True)
111-
112102
# plot each set
113103
# print "--------------------plot the data"
114104
for data in self._data:

display/GPI/Matplotlib_GPI.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
import os
3939
import matplotlib
4040

41-
# import matplotlib as mpl
4241
print('matplotlib version: ', matplotlib.__version__)
4342

4443
import gpi
@@ -137,7 +136,6 @@ def _init_toolbar(self):
137136
from matplotlib import markers
138137

139138
def get_icon(name):
140-
# import matplotlib
141139
basedir = osp.join(matplotlib.rcParams['datapath'], 'images')
142140
return QtGui.QIcon(osp.join(basedir, name))
143141

0 commit comments

Comments
 (0)