Skip to content
Snippets Groups Projects
Commit 88209a2d authored by Emmanuel Oceguera Conchas's avatar Emmanuel Oceguera Conchas
Browse files

has been the def plotEbcCube added

parent c65a5b7b
No related branches found
No related tags found
No related merge requests found
...@@ -49,11 +49,7 @@ except ImportError: ...@@ -49,11 +49,7 @@ except ImportError:
from netCDF4 import Dataset from netCDF4 import Dataset
#we need the matplotlib module to plot the data #we need the matplotlib module to plot the data
#try: import matplotlib.pyplot as plt
# import matplotlib
#except ImportError:
# pipmain(['install', 'matplotlib'])
# import matplotlib
#we create the path to the ui file #we create the path to the ui file
...@@ -82,7 +78,7 @@ class maskAndFuntionality (BASE, WIDGET): ...@@ -82,7 +78,7 @@ class maskAndFuntionality (BASE, WIDGET):
self.btn_remove.clicked.connect(self.removePath) self.btn_remove.clicked.connect(self.removePath)
self.btn_load.clicked.connect(self.loadNetCDF) self.btn_load.clicked.connect(self.loadNetCDF)
self.btn_remove_sel.clicked.connect(self.removeSelection) self.btn_remove_sel.clicked.connect(self.removeSelection)
self.bt_plot.clicked.connect(self.plotEbvCube) self.btn_plot.clicked.connect(self.plotEbvCube)
"""Here is the place for set stzlesheet""" """Here is the place for set stzlesheet"""
#self.btn_plot.setStyleSheet("backgrou") #self.btn_plot.setStyleSheet("backgrou")
...@@ -192,10 +188,10 @@ class maskAndFuntionality (BASE, WIDGET): ...@@ -192,10 +188,10 @@ class maskAndFuntionality (BASE, WIDGET):
#we close the netCDF file #we close the netCDF file
ncFile.close() ncFile.close()
#remove the path from the text space whe the file is loaded
self.text_set.clear()
def plotEbvCube(self):
def plotEbvCube(self):
"""This function plots the EBV cube if the user select the EBV cube""" """This function plots the EBV cube if the user select the EBV cube"""
#we get the selected item from the tree widget #we get the selected item from the tree widget
item = self.tree_data.selectedItems() item = self.tree_data.selectedItems()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment