Тёмный

Change these settings to improve matplotlib line plots in python 

Space Data Guy
Подписаться 140
Просмотров 65
50% 1

Matplotlib has reasonable defaults, but there are a lot of things you can do to improve those lineplots to create better visuals. Check out this video for how to do that!
Also check out the longer video where I demonstrated how I troubleshoot my charts. • How to customize pytho...
Code is here: github.com/dav...

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@bennguyen1313
@bennguyen1313 10 месяцев назад
Could you do a video on twinx? I have a csv file, and I'd like to on the fly add the columns to a single plot.. i.e. they columns all share the same x-axis, but have different scales/ranges. When I try to programmatically generate the axes, it has an error because I haven't declared an array of axes to hold the return of twinx(): import matplotlib.pyplot as plt #Single canvas and axes in which all the data will be placed fig, ax = plt.subplots(1, 1) #Generate additional Y-axes and save into array for easy access for i in range (5): axIdx [ i ] = ax.twinx() #ERROR How can I create an array of axes so that I can easily access and configure a particular y-series (moving its legend, setting its color, etc)?
@spacedataguy
@spacedataguy 9 месяцев назад
Great question! I prefer subplots over twin axes for improved readability. Why do you want twin axes for this visualization?
Далее
Audio Data Processing in Python
19:52
Просмотров 162 тыс.
НЕ БУДИТЕ КОТЯТ#cat
00:21
Просмотров 944 тыс.
Blue vs Green Emoji Eating Challenge
00:33
Просмотров 2,9 млн
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 808 тыс.
7 Ways to Make Money with Machine Learning
13:26
Просмотров 538 тыс.
"Clean" Code, Horrible Performance
22:41
Просмотров 892 тыс.
Exploratory Data Analysis with Pandas Python
40:22
Просмотров 478 тыс.