Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Matplotlib in QML application
Forum Updated to NodeBB v4.3 + New Features

Matplotlib in QML application

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 2 Posters 459 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Witc
    wrote on 31 Jul 2022, 17:06 last edited by
    #1

    Re: Embed matplotlib in qml application

    Hi, I wanted to plot data with matplotlib in my QML app. I found this example
    But first error:
    c9eca606-29b9-4bb0-9c0e-7fa8c322913d-image.png

    I installed the module several times. Is there any special on this module how to install it?

    Thank you.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 31 Jul 2022, 18:36 last edited by
      #2

      Hi,

      Did you install that package ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Witc
        wrote on 1 Aug 2022, 11:12 last edited by
        #3

        sure I installed it.. and uninstalled and again installed...

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 1 Aug 2022, 11:44 last edited by
          #4

          How did you do that ?
          Are you using a virtual environment ?
          If so, which one ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • W Offline
            W Offline
            Witc
            wrote on 1 Aug 2022, 11:53 last edited by
            #5

            I use .venv in VS code (windows)
            I installed it like that: pip install matplotlib-backend-qtquick

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 4 Aug 2022, 20:01 last edited by
              #6

              Can you provide a minimal requirements.txt to reproduce your environment ?

              Using conda with PyQt5 and matplotlib I have in import error but the package is found.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              1/6

              31 Jul 2022, 17:06

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved