Embedding a Matplotlib Graph into a Tkinter application

Поделиться
HTML-код
  • Опубликовано: 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

  • @carrocesta
    @carrocesta 19 дней назад

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

  • @LowcountryLightworking
    @LowcountryLightworking Год назад +8

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

  • @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 3 месяца назад

    exactly what I need!

  • @rishabhagnihotri6004
    @rishabhagnihotri6004 3 месяца назад

    Perfect brother!!

  • @user-vi1tw1xw7r
    @user-vi1tw1xw7r 7 месяцев назад

    Very helpful, thanks

  • @spourabbas
    @spourabbas 10 месяцев назад

    Thanks. very helpful

  • @ReinventedWeb
    @ReinventedWeb Год назад

    Nice

  • @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.

  • @tuananh5987
    @tuananh5987 6 месяцев назад

    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:
      ruclips.net/video/msDrgqJ9Xwk/видео.html

    • @kychemclass5850
      @kychemclass5850 Год назад

      @@coderslegacy5661 Thanks :)

  • @HolyPiyush
    @HolyPiyush Год назад

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

  • @andrikurniawan823
    @andrikurniawan823 6 месяцев назад

    great job buddy, Thank you for sharing

  • @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 Год назад

    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.