Skip to content

wxpython embedding? #82

Answered by raphaelquast
domagojhack asked this question in Q&A
Jun 5, 2022 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

@domagojhack I converted this issue to a discussion to preserve it for other users as well.

I did a quick check using this matplotlib example...

At a first glance all seems to work nicely out of the box! 🥳

(I used a fresh environment created with mamba create -n wx -c conda-forge eomaps wxpython)

🐍 source-code
from matplotlib.backends.backend_wxagg import (
    FigureCanvasWxAgg as FigureCanvas,
    NavigationToolbar2WxAgg as NavigationToolbar)
from matplotlib.figure import Figure

import numpy as np

import wx
import wx.lib.mixins.inspection as WIT

from eomaps import Maps

class CanvasFrame(wx.Frame):
    def __init__(self):
        super().__init__(None, -1, 'EOmaps in a wxpython ca…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@raphaelquast
Comment options

@domagojhack
Comment options

@domagojhack
Comment options

@raphaelquast
Comment options

@domagojhack
Comment options

Answer selected by domagojhack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #80 on June 05, 2022 20:29.