-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Description
MantidPlotMatplotlibTest passed with matplotlib v2.0.2
but fails with v2.1.0
.
1698: Test command: /home/rwp/mantid/Release/master/bin/MantidPlot "-xq" "/home/rwp/mantid/MantidPlot/test/MantidPlotMatplotlibTest.py"
1698: Environment variables:
1698: MANTID_SOURCE=/home/rwp/mantid
1698: PYTHONPATH=/home/rwp/mantid/Release/master/python-xmlrunner-src
1698: MANTID_SCREENSHOT_REPORT=/home/rwp/mantid/Release/master/bin/screenshots
1698: Test timeout computed to be: 300
1698: ConfigService-[Notice] MessageDisplayPriority log channel set to PRIO_NOTICE priority
1698: FrameworkManager-[Notice] Welcome to Mantid 3.11.20171018.1431
1698: FrameworkManager-[Notice] Please cite: http://dx.doi.org/10.1016/j.nima.2014.07.029 and this release: http://dx.doi.org/10.5286/Software/Mantid
1698:
1698: Running tests...
1698: ----------------------------------------------------------------------
1698: EE
1698: ======================================================================
1698: ERROR [0.201s]: test_1d_plot (__main__.MantidPlotMatplotlibTest)
1698: ----------------------------------------------------------------------
1698: Traceback (most recent call last):
1698: File "/home/rwp/mantid/MantidPlot/test/MantidPlotMatplotlibTest.py", line 31, in test_1d_plot
1698: ax = plt.plot(x,y)
1698: File "/usr/lib/python2.7/site-packages/matplotlib/pyplot.py", line 3229, in plot
1698: ax = gca()
1698: File "/usr/lib/python2.7/site-packages/matplotlib/pyplot.py", line 959, in gca
1698: return gcf().gca(**kwargs)
1698: File "/usr/lib/python2.7/site-packages/matplotlib/pyplot.py", line 588, in gcf
1698: return figure()
1698: File "/usr/lib/python2.7/site-packages/matplotlib/pyplot.py", line 534, in figure
1698: **kwargs)
1698: File "/home/rwp/mantid/Release/master/bin/pymantidplot/mpl/backend_mtdqt4agg.py", line 67, in __call__
1698: six.reraise(*self._exc_info)
1698: File "/home/rwp/mantid/Release/master/bin/pymantidplot/mpl/backend_mtdqt4agg.py", line 77, in on_call
1698: self.callee(*self._args, **self._kwargs)
1698: File "/home/rwp/mantid/Release/master/bin/pymantidplot/mpl/backend_mtdqt4agg.py", line 111, in _new_figure_manager_impl
1698: figure_class = kwargs.pop('FigureClass', Figure)
1698: NameError: global name 'Figure' is not defined
1698:
1698: ======================================================================
1698: ERROR [0.212s]: test_image_plot (__main__.MantidPlotMatplotlibTest)
1698: ----------------------------------------------------------------------
1698: Traceback (most recent call last):
1698: File "/home/rwp/mantid/MantidPlot/test/MantidPlotMatplotlibTest.py", line 47, in test_image_plot
1698: vmax=abs(Z).max(), vmin=-abs(Z).max())
1698: File "/usr/lib/python2.7/site-packages/matplotlib/pyplot.py", line 3064, in imshow
1698: ax = gca()
1698: File "/usr/lib/python2.7/site-packages/matplotlib/pyplot.py", line 959, in gca
1698: return gcf().gca(**kwargs)
1698: File "/usr/lib/python2.7/site-packages/matplotlib/pyplot.py", line 588, in gcf
1698: return figure()
1698: File "/usr/lib/python2.7/site-packages/matplotlib/pyplot.py", line 534, in figure
1698: **kwargs)
1698: File "/home/rwp/mantid/Release/master/bin/pymantidplot/mpl/backend_mtdqt4agg.py", line 67, in __call__
1698: six.reraise(*self._exc_info)
1698: File "/home/rwp/mantid/Release/master/bin/pymantidplot/mpl/backend_mtdqt4agg.py", line 77, in on_call
1698: self.callee(*self._args, **self._kwargs)
1698: File "/home/rwp/mantid/Release/master/bin/pymantidplot/mpl/backend_mtdqt4agg.py", line 111, in _new_figure_manager_impl
1698: figure_class = kwargs.pop('FigureClass', Figure)
1698: NameError: global name 'Figure' is not defined
1698:
1698: ----------------------------------------------------------------------
1698: Ran 2 tests in 0.413s
1698:
1698: FAILED (errors=2)
1698:
1698: Generating XML reports...
1698: ApplicationWindow-[Fatal] Fatal error on line 54 of "/home/rwp/mantid/MantidPlot/test/MantidPlotMatplotlibTest.py" encountered:
1698: ApplicationWindow-[Fatal] SystemExit: 1
1698: ApplicationWindow-[Fatal] at line 54 in '/home/rwp/mantid/MantidPlot/test/MantidPlotMatplotlibTest.py'
1698: ApplicationWindow-[Fatal] caused by line 64 in '/home/rwp/mantid/MantidPlot/test/mantidplottests.py'
1698: MantidUI-[Notice] MantidPlot is shutting down...
1/1 Test #1698: MantidPlotMatplotlibTest.py ......***Failed 8.03 sec
@martyngigg Any thoughts?
Metadata
Metadata
Assignees
Labels
No labels