Embedding a Matplotlib Graph into a Tkinter application

Поділитися
Вставка
  • Опубліковано 19 лют 2023
  • Learn how to combine the Plotting Power of Matplotlib with the the UX/UI of Tkinter!
    Website Link ###
    coderslegacy.com/python/embed...

КОМЕНТАРІ • 22

  • @LowcountryLightworking
    @LowcountryLightworking Рік тому +8

    Extremely helpful… Thank you for taking the time to make this!

  • @carrocesta
    @carrocesta 11 днів тому

    very nice, thanks a lot dude! greetings from Spain :)

  • @naderbazyari2
    @naderbazyari2 6 місяців тому

    Many many thanks for such a short and concise video. much appreciated

  • @tanvirahmed8586
    @tanvirahmed8586 2 місяці тому

    Thanks man! That really helped me a lot.

  • @vilmoskocsis3064
    @vilmoskocsis3064 2 місяці тому

    exactly what I need!

  • @user-vi1tw1xw7r
    @user-vi1tw1xw7r 6 місяців тому

    Very helpful, thanks

  • @spourabbas
    @spourabbas 10 місяців тому

    Thanks. very helpful

  • @rishabhagnihotri6004
    @rishabhagnihotri6004 3 місяці тому

    Perfect brother!!

  • @ReinventedWeb
    @ReinventedWeb Рік тому

    Nice

  • @andrikurniawan823
    @andrikurniawan823 5 місяців тому

    great job buddy, Thank you for sharing

  • @metalbrother2671
    @metalbrother2671 Рік тому +2

    This is exactly what i was looking for! Thank you for the comprehensive video. Is it possibly to draw datapoints on the canvas iteratively? For example if i want to show a graph over time and want to display how the graph develops over time?

    • @coderslegacy5661
      @coderslegacy5661  Рік тому

      That is totally possible. It the concept of animation in Matplotlib. They provide some pretty good built-in-support for this kinda feature.
      coderslegacy.com/python/matplotlib-funcanimation/
      You could even do it manually, by drawing to the plot, and then clearing it, then drawing a new updated plot.

  • @HolyPiyush
    @HolyPiyush Рік тому

    Sir can you tell how to do same thing with plotly module
    thank you

  • @tuananh5987
    @tuananh5987 5 місяців тому

    How to create multiple graph on specific window by clicking a button of Tkinter?

  • @kychemclass5850
    @kychemclass5850 Рік тому

    Excellent. Thank you for sharing your knowledge. Could I suggest a follow-up video whereby the matplotlib graph is animated?

    • @coderslegacy5661
      @coderslegacy5661  Рік тому +1

      We don't have a direct sequel to this video, but I have covered matplotlib animation in detail in this one:
      ua-cam.com/video/msDrgqJ9Xwk/v-deo.html

    • @kychemclass5850
      @kychemclass5850 Рік тому

      @@coderslegacy5661 Thanks :)

  • @darshanb
    @darshanb Рік тому

    I need to convert a python program source code to its exe using pyinstaller or auto py to exe but it always gives me error while converting of modules not found using--one file option
    Using--one dir the exe works
    Can you help me out
    I am actually trying to convert an open source app available on github need to modify it and pack it back again into exe

  • @JurinoH
    @JurinoH Рік тому

    How can I change canvas size ? I need smaller canvas and graph. Thanks

    • @coderslegacy5661
      @coderslegacy5661  Рік тому

      Use the figsize parameter in the Figure() class to change the size of the matplotlib graph.
      e.g fig = Figure(figsize=(4,4))

    • @JurinoH
      @JurinoH Рік тому

      @@coderslegacy5661 Thank you, perfect 👍

  • @kychemclass5850
    @kychemclass5850 11 місяців тому

    Where is the data of the random points stored? The old random points were remembered and displayed when "Plot Graph" is clicked so they must be getting stored somewhere.