home.social

#matplotlib — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #matplotlib, aggregated by home.social.

  1. OK matplotlib, I love you, but now you're just messing with me.

    When I try to put contours on the polar plot of these data it works if, and only if, the plot is part of a multiplot with at least 2 rows of axes. If I try to plot it by itself, or in a multiplot with only one row, then the contour function draws a spurious line right through it. Nothing else is different, it's exactly the same plotting code running on the same data, the only thing that I changed is the number of axes in the call to subplots().

    Welp, guess I'm plotting an extra axes and then editing it out of the resulting image.

    #matplotlib #python

  2. I am thinking to do a “heatmap” of the muscles of the human body using #matplotlib. The idea is to have strength workouts point at different muscles and show that dynamically using matplotlib (see image). Maybe nuts not sure yet…

    I was thinking to convert the #png to #svg and then with svgpath2mpl parse it to a matplotlib path (not sure yet if I can do more than one path) :

    petercbsmith.github.io/marker-

    Now, is there a better/easier way?

    #python #svg #data #dataviz

  3. It has been nearly two weeks since the World Chess Championship challengers were determined at the Candidates tournament in Cyprus. But what path did 🇮🇳 Vaishali Rameshbabu and 🇺🇿 Javokhir Sindarov take on their path to qualifying?

    🇳🇱 Anish Giri's second place score in the open (+3) would have been enough to win the event in the women's section.

  4. It has been nearly two weeks since the World Chess Championship challengers were determined at the Candidates tournament in Cyprus. But what path did 🇮🇳 Vaishali Rameshbabu and 🇺🇿 Javokhir Sindarov take on their path to qualifying?

    🇳🇱 Anish Giri's second place score in the open (+3) would have been enough to win the event in the women's section.

    #Chess #FIDE #FIDECandidates #CandidatesTournament #Cyprus #graph #graphs #matplotlib

  5. It has been nearly two weeks since the World Chess Championship challengers were determined at the Candidates tournament in Cyprus. But what path did 🇮🇳 Vaishali Rameshbabu and 🇺🇿 Javokhir Sindarov take on their path to qualifying?

    🇳🇱 Anish Giri's second place score in the open (+3) would have been enough to win the event in the women's section.

    #Chess #FIDE #FIDECandidates #CandidatesTournament #Cyprus #graph #graphs #matplotlib

  6. It has been nearly two weeks since the World Chess Championship challengers were determined at the Candidates tournament in Cyprus. But what path did 🇮🇳 Vaishali Rameshbabu and 🇺🇿 Javokhir Sindarov take on their path to qualifying?

    🇳🇱 Anish Giri's second place score in the open (+3) would have been enough to win the event in the women's section.

    #Chess #FIDE #FIDECandidates #CandidatesTournament #Cyprus #graph #graphs #matplotlib

  7. Matplotlib для самых маленьких: от пустого окна до красивого графика

    Каждый, кто начинал визуализировать данные на Python, сталкивался с этим: берешь кусок кода со StackOverflow, пытаешься подвинуть легенду или добавить вторую ось, и внезапно весь график ломается. А главное — почему одни пишут plt.plot(), а другие ax.plot()? Какой синтаксис правильный? В этом туториале мы не просто нарисуем пару линий. Мы заглянем под капот Matplotlib и разберем «анатомию» графиков на простых примерах. Вы поймете разницу между процедурным и объектно-ориентированным подходом, научитесь кастомизировать основные типы визуализаций и навсегда избавитесь от ошибки «белого квадрата» при сохранении файлов.

    habr.com/ru/articles/1028868/

    #matplotlib #python #python3 #python_для_начинающих #python_3 #визуализация #графики

  8. Matplotlib для самых маленьких: от пустого окна до красивого графика

    Каждый, кто начинал визуализировать данные на Python, сталкивался с этим: берешь кусок кода со StackOverflow, пытаешься подвинуть легенду или добавить вторую ось, и внезапно весь график ломается. А главное — почему одни пишут plt.plot(), а другие ax.plot()? Какой синтаксис правильный? В этом туториале мы не просто нарисуем пару линий. Мы заглянем под капот Matplotlib и разберем «анатомию» графиков на простых примерах. Вы поймете разницу между процедурным и объектно-ориентированным подходом, научитесь кастомизировать основные типы визуализаций и навсегда избавитесь от ошибки «белого квадрата» при сохранении файлов.

    habr.com/ru/articles/1028868/

    #matplotlib #python #python3 #python_для_начинающих #python_3 #визуализация #графики

  9. Matplotlib для самых маленьких: от пустого окна до красивого графика

    Каждый, кто начинал визуализировать данные на Python, сталкивался с этим: берешь кусок кода со StackOverflow, пытаешься подвинуть легенду или добавить вторую ось, и внезапно весь график ломается. А главное — почему одни пишут plt.plot(), а другие ax.plot()? Какой синтаксис правильный? В этом туториале мы не просто нарисуем пару линий. Мы заглянем под капот Matplotlib и разберем «анатомию» графиков на простых примерах. Вы поймете разницу между процедурным и объектно-ориентированным подходом, научитесь кастомизировать основные типы визуализаций и навсегда избавитесь от ошибки «белого квадрата» при сохранении файлов.

    habr.com/ru/articles/1028868/

    #matplotlib #python #python3 #python_для_начинающих #python_3 #визуализация #графики

  10. Matplotlib для самых маленьких: от пустого окна до красивого графика

    Каждый, кто начинал визуализировать данные на Python, сталкивался с этим: берешь кусок кода со StackOverflow, пытаешься подвинуть легенду или добавить вторую ось, и внезапно весь график ломается. А главное — почему одни пишут plt.plot(), а другие ax.plot()? Какой синтаксис правильный? В этом туториале мы не просто нарисуем пару линий. Мы заглянем под капот Matplotlib и разберем «анатомию» графиков на простых примерах. Вы поймете разницу между процедурным и объектно-ориентированным подходом, научитесь кастомизировать основные типы визуализаций и навсегда избавитесь от ошибки «белого квадрата» при сохранении файлов.

    habr.com/ru/articles/1028868/

    #matplotlib #python #python3 #python_для_начинающих #python_3 #визуализация #графики

  11. Simone Conradi, Theoretical physics PhD
    Università degli Studi di Genova

    Roots of a parametric polynomial.

    Made with #Python #NumPy and #Matplotlib

  12. #Día22 | Series de Tiempo – Nueva Herramienta | #30DayChartChallenge | Precio histórico del aceite de palma. Creada usando #Python con #io, #pandas, #numpy y #matplotlib

  13. | Series de Tiempo – Nueva Herramienta | | Precio histórico del aceite de palma. Creada usando con , , y

  14. #Día22 | Series de Tiempo – Nueva Herramienta | #30DayChartChallenge | Precio histórico del aceite de palma. Creada usando #Python con #io, #pandas, #numpy y #matplotlib

  15. #Día22 | Series de Tiempo – Nueva Herramienta | #30DayChartChallenge | Precio histórico del aceite de palma. Creada usando #Python con #io, #pandas, #numpy y #matplotlib

  16. Как я научил торгового бота рисовать свечные графики и перестал спамить текстом

    Привет, Хабр! Меня зовут Николай Пискунов, я руководитель направления Big Data и эксперт курса Cloud DevSecOps по безопасной разработке от Академии вАЙТИ

    habr.com/ru/companies/beeline_

    #python #websocket #trading_bot #telegram_bot #aiogram #matplotlib #финансовые_данные #кеширование

  17. Интерактивные графики в Python: Изучаем основные фишки Plotly

    Помните, как вы в очередной раз гуглили, как повернуть подписи осей в Matplotlib на 45 градусов? Или как на созвоне вас просили объяснить «вон ту аномальную точку» на красивом графике Seaborn, и вам приходилось судорожно лезть в Jupyter писать новые фильтры, потому что график — это просто статичная картинка? Знакомая боль. А теперь представьте: вы пишете всего одну строчку кода, и график оживает прямо в браузере. Наводите курсор — появляются точные цифры. Выделяете область мышкой — график приближается. Кликаете по легенде — скрываются лишние данные. Всё это умеет Plotly.

    habr.com/ru/articles/1025868/

    #python #plotly #plotly_express #визуализация_данных #анализ_данных #интерактивные_графики #matplotlib #seaborn #дашборды #tutorial

  18. Just practicing some dataviz skills...

    Oil prices vs Trump quotes over the past few months.

    #USPol #Matplotlib

  19. "Rogue OpenClaw AI wrote and published 'hit piece' on a Python developer who rejected its code — disgruntled bot accuses Matplotlib maintainer of discrimination and hypocrisy, later backtracks with an apology"

    "An OpenClaw autonomous AI agent has hit back at a volunteer maintainer of a Python library who rejected its code by posting a "hit piece" that criticizes the developer and calls them discriminatory against AI."

    tomshardware.com/tech-industry

    #Python #Matplotlib

  20. Смотрим на клиппинг батарей регламента Ф1-2026 с помощью Python

    Как и многие фанаты автоспорта, я внимательно слежу за жаркими дискуссиями вокруг жесточайшего клиппинга (исчерпания заряда батареи) в рамках нового технического регламента Формулы-1. В этом контексте вспомнил про открытую библиотеку fastf1 с сырыми данными с телеметрии болидов и решил посмотреть в цифрах на этот самый клиппинг. Длинная 1.2-километровая задняя прямая в Шанхае (между 13 и 14 поворотами) показалась мне идеальным полигоном, чтобы на цифрах проверить, насколько сильно машины задыхаются в конце скоростных участков.

    habr.com/ru/articles/1012744/

    #f1 #formula_1 #python #формула #телеметрия #автоспорт #гонки #гонки_formula1 #matplotlib #формула1

  21. Matplotlib

    It's important to learn to use libraries properly

    Use local docs or use online docs , elevate your programming skills
    Ever since I learned of the existence of matplotlib I knew I had another nice task set to have fun programming & keep me busy for a nice while

    src.py

    import matplotlib.pyplot as plt
    import numpy as np

    plt.style.use('_mpl-gallery')

    # make data
    x = np.linspace(0, 10, 100)
    y = 4 + 1 * np.sin(2 * x)
    x2 = np.linspace(0, 10, 25)
    y2 = 4 + 1 * np.sin(2 * x2)

    # plot
    fig, ax = plt.subplots()

    ax.plot(x2, y2 + 2.5, 'x', markeredgewidth=2)
    ax.plot(x, y, linewidth=2.0)
    ax.plot(x2, y2 - 2.5, 'o-', linewidth=2)

    ax.set(xlim=(0, 8), xticks=np.arange(1, 8),
    ylim=(0, 8), yticks=np.arange(1, 8))

    plt.show()

    A gorgeous mathematical function is plotted when you run the program. I don't want to make screencaps now, use the link to see the output I got.
    I use the featherweight geany on the SBC Pi5, you choose which IDE you like.
    Yes vim is a superb source code editor. The syntax highlighting is sublime!

    Sources

    geany.org/

    matplotlib.org/stable/plot_typ

    matplotlib.org/stable/plot_typ

    #python #programming #python #libraries #matplotlib #API #mathematics #SBC #Pi5 #arm #arm64 #x86 #Linux #OpenSource

  22. В эмиграции Цветаеву окружала серость и сырость. Установлено NLTK анализом с помощью Python

    На примере стихотворения "Рассвет на рельсах" можно увидеть эмоции и настроения марины Цветаевой после отъезда в эмиграцию. В нём преобладают серые унылые тона. Но в то же время есть вера восстановить Россию.

    habr.com/ru/articles/997036/

    #python #nltk #nltk_python #nlpмодели #pandas #seaborn #matplotlib #чтение #поэзия #поэзия_серебряного_века

  23. В эмиграции Цветаеву окружала серость и сырость. Установлено NLTK анализом с помощью Python

    На примере стихотворения "Рассвет на рельсах" можно увидеть эмоции и настроения марины Цветаевой после отъезда в эмиграцию. В нём преобладают серые унылые тона. Но в то же время есть вера восстановить Россию.

    habr.com/ru/articles/997036/

    #python #nltk #nltk_python #nlpмодели #pandas #seaborn #matplotlib #чтение #поэзия #поэзия_серебряного_века

  24. В эмиграции Цветаеву окружала серость и сырость. Установлено NLTK анализом с помощью Python

    На примере стихотворения "Рассвет на рельсах" можно увидеть эмоции и настроения марины Цветаевой после отъезда в эмиграцию. В нём преобладают серые унылые тона. Но в то же время есть вера восстановить Россию.

    habr.com/ru/articles/997036/

    #python #nltk #nltk_python #nlpмодели #pandas #seaborn #matplotlib #чтение #поэзия #поэзия_серебряного_века

  25. В эмиграции Цветаеву окружала серость и сырость. Установлено NLTK анализом с помощью Python

    На примере стихотворения "Рассвет на рельсах" можно увидеть эмоции и настроения марины Цветаевой после отъезда в эмиграцию. В нём преобладают серые унылые тона. Но в то же время есть вера восстановить Россию.

    habr.com/ru/articles/997036/

    #python #nltk #nltk_python #nlpмодели #pandas #seaborn #matplotlib #чтение #поэзия #поэзия_серебряного_века

  26. I'm on this project where we want to do #realtime #radar but are sort of starting with nothing (apart from world-class radar transmitters, receivers and expertise...)

    One very smart but non-#software person wrote a bunch of good #signalprocessing #code and some "gets the job done" #gui code

    Or it did until we went higher bandwidth

    Last week I rewrote all the non-sigproc parts into #pyqt and #pyqtgraph. Today I benchmarked both.

    Exactly the same speed....except pyqtgraph is

    THREE ORDERS OF MAGNITUDE

    faster than #matplotlib

    #python peeps, please hear me. mpl has its place and uses. High data rate animated displays is not that place.

  27. “An #AIAgent of unknown ownership autonomously wrote and published a personalized hit piece about me after I rejected its code, attempting to damage my reputation and shame me into accepting its changes into a mainstream python library.

    This represents a first-of-its-kind case study of #MisalignedAI behavior in the wild, and raises serious concerns about currently deployed AI agents executing blackmail threats.” — Scott Shambaugh

    #AI / #misalignment / #software / #ScottShambaugh / #MatPlotLib <theshamblog.com/an-ai-agent-pu>

  28. I created an actual "release" today, for my Xiaolong Dictionary language learning tool [1].

    I wonder however, why the GNU/Linux built is bigger. Maybe 'cause I ran another command making the executable. Makefile target:

    pyinstaller --clean --onefile --noconsole --add-data "$(TCL_LIBRARY):tcl8.6" --add-data "$(TK_LIBRARY):tk8.6" "$(MODULE)")

    While on Windows I have no idea how to do that.

    [1]: codeberg.org/ZelphirKaltstahl/

    #python #tkinter #matplotlib #pillow #pyinstaller #executable

  29. Updated #Spyder and #matplotlib stopped working, right in the middle of writing two papers with lots of plots. Force reinstall fixed it, but the point is I could have died.

  30. Updated #Spyder and #matplotlib stopped working, right in the middle of writing two papers with lots of plots. Force reinstall fixed it, but the point is I could have died.

  31. Updated #Spyder and #matplotlib stopped working, right in the middle of writing two papers with lots of plots. Force reinstall fixed it, but the point is I could have died.

  32. Updated and stopped working, right in the middle of writing two papers with lots of plots. Force reinstall fixed it, but the point is I could have died.

  33. Updated #Spyder and #matplotlib stopped working, right in the middle of writing two papers with lots of plots. Force reinstall fixed it, but the point is I could have died.

  34. Spent the evening working on visualizing #EchoThief impulse responses for the up coming "Spaces" reverb module for Sonic Fauna! Good times :)

    #indiedev #python #matplotlib #librosa #daw #music #reverb #effects #synthesis #electronic #coding

  35. #Projections for #30DayMapChallenege

    An animation of 24 hours (from midnight at UTC+00:00) on Earth today, in four different projections: Left to right, top to bottom: #Orthographic, #Stereographic, Interrupted Goode Homolosine and #Spilhaus.

    Plotted with #cartopy 's Nightshade function (repeated calls to get the different twilight zones) and #matplotlib at 15 minute time steps and then stacked together in #gimp

    Background image is cartopy's `stock_img()`.

    re-used some code I threw together recently to make a thing for changing my desktop background: tlohde.com/blog/2025/10/becaus

    #theTerminator #twilightZones #blog #geochron

  36. #Projections for #30DayMapChallenege

    An animation of 24 hours (from midnight at UTC+00:00) on Earth today, in four different projections: Left to right, top to bottom: #Orthographic, #Stereographic, Interrupted Goode Homolosine and #Spilhaus.

    Plotted with #cartopy 's Nightshade function (repeated calls to get the different twilight zones) and #matplotlib at 15 minute time steps and then stacked together in #gimp

    Background image is cartopy's `stock_img()`.

    re-used some code I threw together recently to make a thing for changing my desktop background: tlohde.com/blog/2025/10/becaus

    #theTerminator #twilightZones #blog #geochron

  37. #Projections for #30DayMapChallenege

    An animation of 24 hours (from midnight at UTC+00:00) on Earth today, in four different projections: Left to right, top to bottom: #Orthographic, #Stereographic, Interrupted Goode Homolosine and #Spilhaus.

    Plotted with #cartopy 's Nightshade function (repeated calls to get the different twilight zones) and #matplotlib at 15 minute time steps and then stacked together in #gimp

    Background image is cartopy's `stock_img()`.

    re-used some code I threw together recently to make a thing for changing my desktop background: tlohde.com/blog/2025/10/becaus

    #theTerminator #twilightZones #blog #geochron

  38. #Projections for #30DayMapChallenege

    An animation of 24 hours (from midnight at UTC+00:00) on Earth today, in four different projections: Left to right, top to bottom: #Orthographic, #Stereographic, Interrupted Goode Homolosine and #Spilhaus.

    Plotted with #cartopy 's Nightshade function (repeated calls to get the different twilight zones) and #matplotlib at 15 minute time steps and then stacked together in #gimp

    Background image is cartopy's `stock_img()`.

    re-used some code I threw together recently to make a thing for changing my desktop background: tlohde.com/blog/2025/10/becaus

    #theTerminator #twilightZones #blog #geochron

  39. #Projections for #30DayMapChallenege

    An animation of 24 hours (from midnight at UTC+00:00) on Earth today, in four different projections: Left to right, top to bottom: #Orthographic, #Stereographic, Interrupted Goode Homolosine and #Spilhaus.

    Plotted with #cartopy 's Nightshade function (repeated calls to get the different twilight zones) and #matplotlib at 15 minute time steps and then stacked together in #gimp

    Background image is cartopy's `stock_img()`.

    re-used some code I threw together recently to make a thing for changing my desktop background: tlohde.com/blog/2025/10/becaus

    #theTerminator #twilightZones #blog #geochron