Skip to content

Conversation

jenshnielsen
Copy link
Member

  • Two additional methods have changed name in WX Phoenix. We should probably do consider doing this in a more elegant way but for now these are the minimal changes to make zoom work probably.
  • Don't depend on wxversion in setupext. It's no longer a dependency of the wx backend so neither should it be here.

@WeatherGod
Copy link
Member

attn: @wernerfb

@OceanWolf
Copy link
Member

Just adding myself and @fariza to the list of participants as we need to follow this for MEP22.

@@ -1713,14 +1713,20 @@ def draw_rubberband(self, event, x0, y0, x1, y1):
rubberBandColor = '#C0C0FF' # or load from config?

# Set a pen for the border
color = wx.NamedColour(rubberBandColor)
if wxc.is_phoenix:
color = wx.Colour(rubberBandColor)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NamedColour is defined in wx_compat, so you could just use wxc.NamedColour(rubberBandColor)

DrawRectangleRect has been renamed to DrawRectange. So we monkeypatch the new version to add the old version as an alias
WeatherGod added a commit that referenced this pull request Jun 26, 2015
A few WX phoenix related changes
@WeatherGod WeatherGod merged commit 091d27c into matplotlib:master Jun 26, 2015
@jenshnielsen jenshnielsen deleted the nowxversion branch July 15, 2015 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants