Ticket #8235 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Upgrade matplotlib version shipped on Windows

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: critical Milestone: Release 3.0
Component: GUI Keywords:
Cc: Blocked By:
Blocking: Tester: Martyn Gigg

Description

The change to the v2 PyQt API (#7950) has broken the import the version of matplotlib that we ship. Upgrade to the latest version, which has apparently resolved this issue.

Also check things on linux - on RHEL6 for example the rpm version of matplotlib is 0.99.

Change History

comment:1 Changed 7 years ago by Russell Taylor

  • Status changed from new to inprogress

Re #8235. Remove existing version of matplotlib (32 bit).

Changeset: 0a934ab6ec43fed5abc513000f75ce26ee6604d2

comment:2 Changed 7 years ago by Russell Taylor

Re #8235. Add matplotlib 1.3.1 (32 bit).

Changeset: eba82839557b7073d2ea1cc60cccb329ab6a3273

comment:3 Changed 7 years ago by Russell Taylor

Re #8235. Latest matplotlib requires pyparsing (this is v2.0.1).

Changeset: f2b83171ba498c1a004640f3b7b718630a213631

comment:4 Changed 7 years ago by Russell Taylor

Re #8235. Remove existing version of matplotlib (64 bit).

Changeset: cdbe8ba54e58894aa876dfded21168f562b3f8da

comment:5 Changed 7 years ago by Russell Taylor

Re #8235. Add matplotlib 1.3.1 (64 bit).

Changeset: 0f2c5f9890131ee1a43a8548da8afda57f3c2baa

comment:6 Changed 7 years ago by Russell Taylor

Re #8235. Add pyparsing v2.0.1

Changeset: 2fa6b8c412db8cc49a362ef926efb36c24795603

comment:7 Changed 7 years ago by Russell Taylor

Ubuntu 12.04 has version 1.1.1, which should be fine.

RHEL6 has 0.99.1.1, which appears to work fine - even though a version higher than this was apparently not OK on Windows.

We don't ship matplotlib on the Mac, so there's nothing to check there.

comment:8 Changed 7 years ago by Russell Taylor

  • Status changed from inprogress to verify
  • Resolution set to fixed

Unsurprisingly, this has to be tested on windows.

The changes are only in the Third Party repositories, where we don't use branches - so there's nothing to merge and this can be tested on any build after the changes were made.

To test: Download the nightly build (or a package from one of the jenkins jobs if it's still Friday) and check that you can import matplotlib in the IPython console. Please also try the specific command which the reporting user was trying: import matplotlib.pyplot as plt. Please test both the 64 & 32 bit packages.

Last edited 7 years ago by Russell Taylor (previous) (diff)

comment:9 Changed 7 years ago by Martyn Gigg

  • Status changed from verify to verifying
  • Tester set to Martyn Gigg

comment:10 Changed 7 years ago by Martyn Gigg

  • Status changed from verifying to closed

Checked both 32- && 64-bit packages and matplotlib works correctly on both.

I tested it with

import numpy as np
import matplotlib.pyplot as plt

x = np.arange(0, 5, 0.1);
y = np.sin(x)
plt.plot(x, y)

comment:11 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9080

Note: See TracTickets for help on using tickets.