Ticket #482 (closed: fixed)

Opened 12 years ago

Last modified 5 years ago

Python fails in MantidPlot if the numpy package is installed

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: minor Milestone: Iteration 19
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

It would appear that there is some sort of name clash with numpy and MantidPlot, most likely due to an excessive use of from [package] import * in the qtiplot Python start up files

Change History

comment:1 Changed 11 years ago by Nick Draper

  • Priority changed from major to minor

comment:2 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 16 to Iteration 17

Batch move of tickets to Iteration 17

comment:3 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 17 to Iteration 18

Moved as part of iteration end

comment:4 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 18 to Iteration 19

Moved as part of iteration 18 end

comment:5 Changed 11 years ago by Nick Draper

  • Owner set to Martyn Gigg

Give Rob a call and see if this is fixed

comment:6 Changed 11 years ago by Nick Draper

I've just tried importing numpy, scipy and matplotlib and they all seem to work on windows

comment:7 Changed 11 years ago by Martyn Gigg

The package imports work now. However, trying to using matplotlib.pyplot from our scripting window causes the icons on the created plots disappear (only the SVG ones though, the png is fine).

Bizarrely this only affects the installer since I have checked my locally compiled copy and it all works.

comment:8 Changed 11 years ago by Martyn Gigg

  • Status changed from new to closed
  • Resolution set to fixed

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1330

Note: See TracTickets for help on using tickets.