Changeset 79087 in vbox for trunk/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphmatplotlib.py
- Timestamp:
- Jun 11, 2019 11:58:28 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 131247
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphmatplotlib.py
r76553 r79087 37 37 from StringIO import StringIO as StringIO; # pylint: disable=import-error,no-name-in-module 38 38 39 import matplotlib; # pylint: disable= F040139 import matplotlib; # pylint: disable=import-error 40 40 matplotlib.use('Agg'); # Force backend. 41 import matplotlib.pyplot; # pylint: disable= F040142 from numpy import arange as numpy_arange; # pylint: disable= E0611,E0401,wrong-import-order41 import matplotlib.pyplot; # pylint: disable=import-error 42 from numpy import arange as numpy_arange; # pylint: disable=no-name-in-module,import-error,wrong-import-order 43 43 44 44 # Validation Kit imports. … … 64 64 """ 65 65 if self._fXkcdStyle and matplotlib.__version__ > '1.2.9': 66 matplotlib.pyplot.xkcd(); # pylint: disable= E110166 matplotlib.pyplot.xkcd(); # pylint: disable=no-member 67 67 matplotlib.rcParams.update({'font.size': self._cPtFont}); 68 68 … … 106 106 return None; 107 107 108 def renderGraph(self): # pylint: disable= R0914108 def renderGraph(self): # pylint: disable=too-many-locals 109 109 aoTable = self._oData.aoTable; 110 110 … … 198 198 return True; 199 199 200 def renderGraph(self): # pylint: disable= R0914200 def renderGraph(self): # pylint: disable=too-many-locals 201 201 aoSeries = self._oData.aoSeries; 202 202 … … 246 246 oSubPlot.grid(True, 'both', axis = 'x'); 247 247 248 if True: # pylint: disable= W0125248 if True: # pylint: disable=using-constant-test 249 249 # oSubPlot.axis('off'); 250 250 #oSubPlot.grid(True, 'major', axis = 'none'); … … 278 278 self.setFontSize(6); 279 279 280 def renderGraph(self): # pylint: disable= R0914280 def renderGraph(self): # pylint: disable=too-many-locals 281 281 assert len(self._oData.aoSeries) == 1; 282 282 oSeries = self._oData.aoSeries[0]; … … 288 288 289 289 oFigure = self._createFigure(); 290 from mpl_toolkits.axes_grid.axislines import SubplotZero; # pylint: disable= E0401290 from mpl_toolkits.axes_grid.axislines import SubplotZero; # pylint: disable=import-error 291 291 oAxis = SubplotZero(oFigure, 111); 292 292 oFigure.add_subplot(oAxis);
Note:
See TracChangeset
for help on using the changeset viewer.