Son of a corner Profile Banner
Son of a corner Profile
Son of a corner

@sonofacorner

8,446
Followers
229
Following
163
Media
1,028
Statuses

Trying to help people learn more about @matplotlib with football (soccer) data. Donations:

Joined April 2022
Don't wanna be here? Send us removal request.
Pinned Tweet
@sonofacorner
Son of a corner
2 years
Everyone: "It's impossible to create beautiful charts with @matplotlib ." Matplotlib: "Hold my beer". ------------------------------------------------------- Code & examples of +20 charts:
Tweet media one
Tweet media two
Tweet media three
Tweet media four
10
94
616
@sonofacorner
Son of a corner
2 years
Do you want to learn how to create stunning tables using only @matplotlib ? Here's a step-by-step tutorial on how to do it 😊 In it, you'll learn how to create amazing visuals such as this 👇 Tutorial RTs and 💕 appreciated
Tweet media one
7
78
467
@sonofacorner
Son of a corner
1 year
NEW VIZ 📊 How did top Premier League teams fare against each opposing bracket group? (based on the final table position of the opposition)
Tweet media one
13
48
441
@sonofacorner
Son of a corner
2 years
New @matplotlib tutorial 🎉 A Python tutorial on how to create xG rolling charts ⚽ I've included xG Serie A data for the 2021 / 22 season so you can play around and customize your own charts. 🇮🇹 Hit like if you enjoyed it ❤️ Colab
Tweet media one
8
42
426
@sonofacorner
Son of a corner
2 years
Learning Python 🐍 changed my life. I'm not a developer. I'm not a DS. I'm not an expert. Still, it has opened a door for me to have fun and learn in ways I never imagined. That's why SOC exists, to leverage the power of football to motivate people to learn something new.
6
22
398
@sonofacorner
Son of a corner
2 years
Which Premier Leagues teams are the most predictable? In today's viz, I used a statistical function called the Brier Score, which helps us assess the accuracy of probabilistic predictions, and apply it to 538's EPL forecasts for the 2021/2022 season. Brief stats thread 🧵
Tweet media one
4
38
343
@sonofacorner
Son of a corner
2 years
Because a lot of people seemed to like the viz... Here's the lollipop xG chart but for the 1st round of the EPL season. Own goals and other tweaks included 😉
Tweet media one
17
43
311
@sonofacorner
Son of a corner
2 years
WOW 🥰 Just noticed that @Soccermatics cited SOC as a resource to "improve your visuals" in his new course. David's work and teachings have always been an inspiration, so this feels extremely rewarding. Thanks to everyone that has followed and supported this project 💕
Tweet media one
9
12
313
@sonofacorner
Son of a corner
2 years
Want some inspiration for your Python visualizations? At we have over 20 examples with full code for beautiful visuals in @matplotlib using football data. Plus, 8 in-depth tutorials on different topics. Join us! 😋
Tweet media one
8
38
306
@sonofacorner
Son of a corner
2 years
What are your thoughts on this striker template? 🤔 All of it was created with the data and Python tutorials I've published recently at
Tweet media one
14
20
303
@sonofacorner
Son of a corner
2 years
Looking for something to learn this weekend? An intro to efficient web scraping using Python and football data as an example. 🕷️ ⚽ I also added bonus code to recreate the following image using the data we scraped 😉
Tweet media one
4
37
292
@sonofacorner
Son of a corner
2 years
Which players are attempting the most crosses in the Premier League? 🏴󠁧󠁢󠁥󠁮󠁧󠁿 Look at Martinelli's cross-success rate. 🤯 As always, full code in @matplotlib , which you can find here:
Tweet media one
6
33
267
@sonofacorner
Son of a corner
2 years
Experimental viz 👀 This week, I wanted to mix histograms, scatter plots, and line charts in a single plot. Here's the result 👇😋
Tweet media one
3
14
266
@sonofacorner
Son of a corner
2 years
NEW VIZ 🎉 Where do crosses come from in the EPL? - West Ham have attempted the most crosses. However, they have created 0 goals from them. - Palace have 4 goals from crosses, despite being the league's lowest crossers. Full code and data here:
Tweet media one
6
30
252
@sonofacorner
Son of a corner
2 years
Tables in matplotlib? Yep, it can be done. Here are some summary stats for the second round of the Bundesliga fixtures 🇩🇪 Code (not a tutorial) 👇
Tweet media one
4
34
240
@sonofacorner
Son of a corner
2 years
The 1st part of my tutorial on how to build a Bayesian model to forecast football matches is finally here 🎉 This article is purely based on the maths and concepts behind Bayesian stats and their applications to football. So, no code. Hope you enjoy it!
4
24
228
@sonofacorner
Son of a corner
2 years
New tutorial coming out tomorrow 🥳
Tweet media one
5
13
209
@sonofacorner
Son of a corner
2 years
How are last season's EPL top 9 teams doing in terms of xG? 🤔 In today's viz I look at each side's xG (ten game) rolling figures, and add a nice trick to plot gradients in matplotlib's fill_between. 🔥 Thoughts? As always, you can find the code here:
Tweet media one
5
22
209
@sonofacorner
Son of a corner
2 years
Here it is 🎉 A Python tutorial on how to make a shot-map visual using @matplotlib . ⚽ I've also included data for Fulham, Bournemouth, Hudd and Forest so you can play around with a bunch of scenarios. Please like / RT if you enjoyed it! Colab 👇
Tweet media one
4
23
186
@sonofacorner
Son of a corner
2 years
Where did Brighton's midfield get their touches against Leicester? 🤓 In this viz, I had my first go at some event data. (that @mplsoccer_dev package is a beauty 💕) You can find the code for the viz here:
Tweet media one
6
20
172
@sonofacorner
Son of a corner
2 years
New @matplotlib tutorial 🎉 Making scatter plots that pop with 🇵🇹 football data. In this tutorial I'll show you my approach on customizing scatter plots to help you achieve a personal style. 🎨 Share your results ❤ Colab:
Tweet media one
8
30
171
@sonofacorner
Son of a corner
2 years
Are you up for a probability exercise? 🤔 Imagine there are two strikers, Shooty McPherson and Scotty Poacher. Every game, Shooty takes 9 shots worth 0.1 xG each, whereas Scotty P only gets one shot, but it's worth 0.9 xG. Who's most likely to get more goals after 20 games?
5
16
169
@sonofacorner
Son of a corner
2 years
New viz ⚽️ Which La Liga's GKs have been saving or conceding more goals than expected? That Oblak stat shook me. I had to double-check that like three times 😂 As always, you can find the @matplotlib code here:
Tweet media one
7
22
141
@sonofacorner
Son of a corner
2 years
Premier League Dribblers. 🕺 * Players with at least 900 minutes played and in the top 85th percentile of dribbles attempted. Four Palace players make the top 85% of dribbles attempted and with pretty decent success rates too...
Tweet media one
10
18
143
@sonofacorner
Son of a corner
2 years
Here it is! 🚀 I'm launching a website to share tutorials and other cool stuff behind my visuals. Only one post so far, but I would love it if you could check it out and share your feedback. 💕 Feel free to check the about section for more details.
9
19
138
@sonofacorner
Son of a corner
2 years
🇮🇹 Napoli vs. Liverpool🏴󠁧󠁢󠁥󠁮󠁧󠁿 UEFA Champions League xG Lollipop Chart ------------------------------------------- Experimenting with some dark templates, what do you think? 🤔
Tweet media one
16
11
136
@sonofacorner
Son of a corner
2 years
Twitter is weird. Visual I'm really excited about and took more than 5 hours to make, 30 likes. Visual that I thought was not my best work and took 30 minutes to make, 250 likes.
19
4
137
@sonofacorner
Son of a corner
1 year
NEW VIZ 📊 🎯 The 2022/23 Premier League's Top Shooters. (inspired by @jonollington )
Tweet media one
4
16
126
@sonofacorner
Son of a corner
2 years
🚨 VIZ UPDATE Historical xG figures in the Premier League 🏴󠁧󠁢󠁥󠁮󠁧󠁿 * changed colors to keep a consistent theme, and I think I like this one better. As always, it's 100% done in @matplotlib
Tweet media one
2
14
128
@sonofacorner
Son of a corner
2 years
📊 NEW VIZ 🏴󠁧󠁢󠁥󠁮󠁧󠁿FA Cup | Man City vs. Arsenal | Pass "solars" This week I decided to attempt @unarsezer 's cool idea of visualizing passes as a solar system instead of the usual passing network. It was really hard (but fun) 😂 What do you think? Code:
Tweet media one
8
17
127
@sonofacorner
Son of a corner
2 years
Are the EPL's top goalscorers getting lucky? 🤔 In today's viz I used each player's shots and xG to simulate their chances of scoring X goals... Haaland's actual outcome only occurred in 8 of 5K simulations, i.e. a 0.3% chance. (Happy 🎃) Full code
Tweet media one
5
8
120
@sonofacorner
Son of a corner
2 years
What happened this week in Ligue 1? 🇫🇷 In today's viz, I re-created a chart posted by @Soccermatics that showcased the xG timeline of a match in the Swedish league and applied it to Ligue 1's first-round fixtures. What do you think, is this clearer than a cumulative xG chart?
Tweet media one
10
5
117
@sonofacorner
Son of a corner
2 years
When do European champions score their goals? Amazing that Salzburg scored 40% of their goals in the final 15 minutes of their matches 🤯 Want to replicate the visual? Here's the code:
Tweet media one
2
6
111
@sonofacorner
Son of a corner
2 years
Gradients in matplotlib bar charts? 🤔 xG data for League One? 🏴󠁧󠁢󠁥󠁮󠁧󠁿 Yes. This week's visual has it all. Plus, the code is now a "semi" tutorial where I break down the steps taken to create the viz. As always, hope it helps you learn something new!
Tweet media one
3
8
108
@sonofacorner
Son of a corner
2 years
Looking for some feedback...👀 The full matchday predictions post comes out on Thursdya and I'd love to know if this viz (template) makes sense. What are your thoughts?
Tweet media one
15
10
105
@sonofacorner
Son of a corner
2 years
This week I learned how to add gradients to matplotlib bar charts. 🤓 For today's visual we look at Swiss data to see which teams are "making more" of their chances, by calculating the difference between post-shot xG and pre-shot xG numbers. 🇨🇭 Code:
Tweet media one
5
8
102
@sonofacorner
Son of a corner
2 years
Where are top Championship sides shooting from? 🎯 Interesting that +50% of Nottingham's shots are taken from outside the box 🤔 Likes and RTs appreciated 🙃
Tweet media one
4
7
95
@sonofacorner
Son of a corner
2 years
Why are annotations & images hard to place in matplotlib? Because mpl has multiple coordinate systems. In this tutorial, I shed some light on how these work and try to simplify the issue, so you can create awesome plots (i.e. logo scatters). Link 👇
Tweet media one
8
4
96
@sonofacorner
Son of a corner
2 years
NEW VIZ | Liga MX's top shooters 🇲🇽 Look at those median distances 🤯 Players really test their luck in Mexico's top flight league. Viz is inspired by @jonollington @matplotlib code 👇
Tweet media one
10
11
95
@sonofacorner
Son of a corner
2 years
@UtdArena I try to help people learn more about data visualization in Python with football data Link:
Tweet media one
1
3
91
@sonofacorner
Son of a corner
2 years
After a big break, I'm happy to return to the scene. 🙏 This week, I'll share a special post with code and LOTS of data to showcase event data collected from the World Cup. Stay tuned on Saturday for this post. Here's a preview of what we'll be exploring...
Tweet media one
7
2
92
@sonofacorner
Son of a corner
2 years
New matplotlib tutorial! 🤖 This post covers the basics of creating effective bar charts in Python using 🇩🇰 football data. Learn how to create stacked charts, text annotations, and side-by-side bars. If it helps, share your work, it means a lot! 💕
Tweet media one
1
15
85
@sonofacorner
Son of a corner
2 years
How to make beautiful scatter plots? 🤔 Today I'll be pulling one from the archives. xG scatter plots for League Two 🏴󠁧󠁢󠁥󠁮󠁧󠁿 Since I never really published the code behind this visual, I thought it was time to give insight into how this is done. Code: 👇
Tweet media one
2
6
86
@sonofacorner
Son of a corner
2 years
NEW VIZ | Contested zones in Serie A 🇮🇹 This week I replicated one of @petermckeever 's amazing visuals in @matplotlib . Where on the pitch are teams touching the ball more than their opponents in open play? ⚽ Code:
Tweet media one
5
9
86
@sonofacorner
Son of a corner
2 years
Which teams are failing to meet expectations? 🤔 This week I take a look at which teams, across European top5 leagues, are gaining fewer points than expected using @FiveThirtyEight 's official predictions. The results were quite surprising. The code 👇
Tweet media one
2
6
87
@sonofacorner
Son of a corner
2 years
Premier League predictions update. ⚽️ Arsenal now with a 44% chance of lifting the title (up 14 percentage points from my last simulation). Spurs now only with a 24% of making the top 4 (down from 33%). Saints chances of going down no 60% (up from 52% in GW 17).
Tweet media one
5
6
83
@sonofacorner
Son of a corner
2 years
New viz of the week with @matplotlib code 💥 What's the cost of Premier League relegation? This week I explore the impact on squad market value for relegated EPL sides that haven't made it back to the top flight. The figures are daunting 😨 Code:
Tweet media one
2
9
86
@sonofacorner
Son of a corner
2 years
Took feedback on my striker template. Here are the results 👇 First up, Dominic Solanke 🍒 Thread with some Championship strikers 🧵
Tweet media one
4
9
81
@sonofacorner
Son of a corner
2 years
I've decided to cancel the paid membership behind SOC. This doesn't mean that I'm stepping away from the project. It just means I don't feel comfortable asking for recurring financial support when I've been so inconsistent. Personal lessons I've learned (for those interested).
8
3
85
@sonofacorner
Son of a corner
2 years
🎉 We have a new tutorial! Today, we'll explore the basics behind Monte Carlo simulation and how you can apply it to football data using Python. 🎲🎲🎲🎲
1
7
82
@sonofacorner
Son of a corner
2 years
Who are the Premier League's naughtiest players? In today's viz, I take a look at fouls committed per 90 minutes played and the cards per foul ratio amongst Premier League players. Brief thread 🧵
Tweet media one
7
7
81
@sonofacorner
Son of a corner
2 years
Is probability subjective? Yes, and understanding it can be a great way to get started in Bayesian statistics. Here's a thought exercise that has helped me grasp the concept. A thread 🧵
3
8
81
@sonofacorner
Son of a corner
2 years
We're back with the Viz of the Week Newsletter. This was my first go at some event data, and I wanted to share how I got around to using it. Plus, I've added a CSV file with the data for all matches played during the 2022 WC. Hope you find it useful.😊
3
4
81
@sonofacorner
Son of a corner
1 year
I forgot how much I enjoyed doing this 🥰 (if you're interested you can download the high-resolution image here: )
Tweet media one
4
2
79
@sonofacorner
Son of a corner
2 years
Who's going to win the Premier League? Here are my official projections for this season 🚀 I will publish weekly updates and game specific forecasts before each matchday, so stick around... For details on how the model works:
Tweet media one
6
6
78
@sonofacorner
Son of a corner
2 years
Hi everyone, For the past five months, I've been working hard to build this account and produce a viz of the week article each Monday. I have to say that it has been an amazing experience from which I've learned a lot and managed to meet wonderful people.
2
3
75
@sonofacorner
Son of a corner
2 years
Just stumbled across @penaltyblog 's site and it's pretty amazing. 🤓 Lots of good content and tutorials on football analytics for those wanting to learn more about modeling, data visualization, and other cool things in Python & R.
1
7
74
@sonofacorner
Son of a corner
2 years
We have a new matplotlib tutorial 🥳 This time, it's less football and more Python 🐍. But it should help beginners get started and intermediate users discover something new. Please let me know if you have any feedback. 🧡
1
11
75
@sonofacorner
Son of a corner
2 years
Wow 🤯 In the first three weeks since launching , I've received over a thousand users from all over the world. Football and coding genuinely have no borders, thanks to everyone that has supported my work 🧡
Tweet media one
5
3
70
@sonofacorner
Son of a corner
2 years
👀Yep, it's finally coming...(most likely this weekend) However, there's already an awesome tables tutorial created by @timbayer93 , from which I've drawn most of the inspiration for this one. Make sure to give it a read 👇
Tweet media one
4
2
66
@sonofacorner
Son of a corner
2 years
🔥 Arsenal vs. Tottenham The upcoming NLD is set to be one of the most exciting games of the season, so I decided to play around with gradients in matplotlib to check each side's xG rolling figures.
Tweet media one
3
6
66
@sonofacorner
Son of a corner
2 years
This tutorial is now open to anyone.
@sonofacorner
Son of a corner
2 years
Looking for something to learn this weekend? An intro to efficient web scraping using Python and football data as an example. 🕷️ ⚽ I also added bonus code to recreate the following image using the data we scraped 😉
Tweet media one
4
37
292
0
6
66
@sonofacorner
Son of a corner
2 years
Mmmm, ok, I think I screwed up. Those colors should've been inverted. 🫠 Why? Because people naturally associate green with good and darker colors with negative metrics. What do you think? (EPL take 3, lol)
Tweet media one
3
4
65
@sonofacorner
Son of a corner
2 years
As you might have noticed, my football knowledge is pretty poor. I'm just good at visualizing data. Not the tactical aspect of the game. Although this account is more of an "educational" resource, I want to start learning and publishing more about the tactical side of the game.
9
2
64
@sonofacorner
Son of a corner
2 years
Hi everyone! These past few months have been amazing. Building Son of a Corner has been such an enriching experience that I am forever thankful to everyone that has supported me on this journey. 💙
3
4
66
@sonofacorner
Son of a corner
2 years
Where do Europe's top scorers shoot from? 🇪🇺 Interesting that Son has the most attempts OTB (24.4%), whereas Haaland is the player with the least long-distance shots (2.5%). 🤔 (This is a correction from a previous tweet, thanks @Sam__Radford @elliott_stapley ) 🙃
Tweet media one
2
13
64
@sonofacorner
Son of a corner
2 years
How to take your scatter charts past the default settings in Matplotlib ⏺ Tutorial coming out tomorrow 🤓 (an example with football data) ⚽️
Tweet media one
1
2
61
@sonofacorner
Son of a corner
2 years
A shot map for every fixture in the Women's Euro knockout stage. It's amazing how much exposure women's football is getting and the availability of detailed statistics to analyze the games. Congratulations Lionesses! 🎉 @matplotlib code 👇
Tweet media one
3
14
58
@sonofacorner
Son of a corner
2 years
Ready for some lollipops? 🍭 Chance creation in yesterday's Champions League fixtures. We look at 👇 🇩🇪Bayern vs. Barca🇪🇸 🇵🇹Sporting vs. Spurs🏴󠁧󠁢󠁥󠁮󠁧󠁿 🏴󠁧󠁢󠁥󠁮󠁧󠁿Liverpool vs. Ajax🇳🇱 🇵🇹Porto vs. Club Brugge 🇧🇪 #UECL
Tweet media one
Tweet media two
Tweet media three
Tweet media four
3
4
57
@sonofacorner
Son of a corner
2 years
Who doesn't love a scatter? 😍 On Wednesday, the Mexican league begins the knock-out round (i.e. La Liguilla) for this season's title. 🇲🇽 So I thought it would be fun to create an xG scatter for those teams competing for the title 🏆
Tweet media one
4
7
58
@sonofacorner
Son of a corner
2 years
Where do teams in the Jupiler Pro League shoot from? 🇧🇪 Reworked the bins from my tiled shot map tutorial. Thoughts on the layout? As always, you can find the code to recreate the visual here:
Tweet media one
2
6
56
@sonofacorner
Son of a corner
2 years
Do you want to learn how to code? 🤖 Data visualization is a great place to start. It's fun, relatively simple, and allows you to create something tangible you can be proud of. Big plus if it's within a field you're passionate about. ⚽️
1
3
55
@sonofacorner
Son of a corner
2 years
The Premier League top of the table, an xG scatter plot. 📊 City never conceded more chances than they created. Not once. Arsenal & United really struggled to contain top 6 opposition -- only in 3/10 did they create more chances than they conceded. I'm gonna miss the EPL 😥
Tweet media one
2
7
56
@sonofacorner
Son of a corner
2 years
If there's one thing I've learned from building this Twitter account and website, is that people are interested in learning how things are done. My advice to anyone looking on building an audience online: Show the process, not only the outcome.
2
3
54
@sonofacorner
Son of a corner
2 years
Love @avisualgame 's recent charts. It comes to show that you don't need to do extremely fancy charts to showcase statistics. Simple. Clear. Interesting.
@avisualgame
VisualGame
2 years
A simple one, each Premier League team’s best buildup player so far this season.
Tweet media one
77
378
5K
1
0
52
@sonofacorner
Son of a corner
2 years
Is my EPL model any good? Kind of 😕 So far, my model has achieved a 3.7% higher error than @FiveThirtyEight . But, what's its performance on an individual team basis? I consider all errors above 5% to be significant, which could lead me to where to focus for next season.
Tweet media one
3
4
52
@sonofacorner
Son of a corner
2 years
New updates to SOC 🤓 I redid the layout of the website, plus added a couple of new cool features... 1st - Search, you can now search the content of the website to find the posts that cover the topics you're interested in, for example, tables:
Tweet media one
4
6
51
@sonofacorner
Son of a corner
2 years
NEW VIZ 🥳| The Premier League's Quarter Backs. 🏈 Long balls (per 90) and long ball success rate. @matplotlib code:
Tweet media one
2
5
52
@sonofacorner
Son of a corner
2 years
It's good to be back 😊
Tweet media one
0
0
52
@sonofacorner
Son of a corner
2 years
Introduction to Monte Carlo Simulation 🍎 The tutorial is now open to everyone. In it, we look at the basics of MC simulation and apply it to football data by checking which were the most unlikely results in this season's UCL. Hope you enjoy it!
1
6
51
@sonofacorner
Son of a corner
2 years
My official detailed predictions for this weekend's games will come out later at night. But here's my latest simulation for the league's final standings... The model has been performing really well with just a 2.7% higher error than @FiveThirtyEight 🫠🤪
Tweet media one
9
3
48
@sonofacorner
Son of a corner
2 years
This week's featured viz is related to my very first contribution to this project. It's amazing how much I've enjoyed building Son of a Corner and the support I've received. 💛 xG differential in the Bundesliga from a defensive perspective 🇩🇪 👉 Code:
Tweet media one
5
2
47
@sonofacorner
Son of a corner
2 years
And here's the bottom 10. - Palace, Brentford & Villa the only ones that seem to have posed problems to the top sides. I really love the aesthetics of these types of charts. 😍 Credit to @TimBayer93 for the inspiration. (colab @matplotlib tuorial 🔜)
Tweet media one
5
4
47
@sonofacorner
Son of a corner
2 years
If you're always writing Jupyter notebooks and feel like sometimes things get out of control. Read this 👇 @ploomber
2
8
45
@sonofacorner
Son of a corner
2 years
Looking for something fun to learn this weekend? New tutorial on creating tiled shot maps using @matplotlib 🎉 Plus, I've made available a dataset with more than 25K shots from the EFL Championship 🏴󠁧󠁢󠁥󠁮󠁧󠁿, so there's no excuse not to get creative! Enjoy!
5
5
44
@sonofacorner
Son of a corner
2 years
It's been some time since I posted a matplotlib tutorial. This time I'm working on something more beginner oriented to help you understand the basics of mpl and how figures are constructed to give you more control of your visuals. Expect it sometime next week 😉
Tweet media one
1
2
43
@sonofacorner
Son of a corner
2 years
Hi everyone, I'm not feeling very well this weekend. This week's viz newsletter will be postponed till Tuesday or Wednesday depending on how my health progresses. I tried to code something, but it's just not happening. Sorry about this 😞
11
1
41
@sonofacorner
Son of a corner
2 years
Working on a fun matplotlib tutorial 📈 Hope to share it with everyone this weekend. ⚽
Tweet media one
5
2
38
@sonofacorner
Son of a corner
2 years
Which Serie A teams have to most equal spread of ball touches? Inspiration and idea from @BeGriffis In today's viz I use a set of ratios and indices, commonly used in economics to measure wealth inequality, and apply them to Serie A teams' ball touches. Brief thread 🧵
Tweet media one
3
2
39
@sonofacorner
Son of a corner
2 years
👏👏👏👏 No more struggling to create tables in matplotlib.
@danzn1
danzn1
2 years
I published plottable to PyPI! 🎉 You can now make beautifully customized static tables such as this with @matplotlib . Have a look at the docs at If you have suggestions & feedback, leave me a msg or file an issue on Github !
Tweet media one
11
83
534
1
3
39
@sonofacorner
Son of a corner
2 years
Adding the final touches to a Premier League model I'm working on... Here's my first simulated season😈 Please keep in mind this is only one simulation, so it's just one of a million possible outcomes. I will update with a full post on my website on how the model works soon...
Tweet media one
4
0
36
@sonofacorner
Son of a corner
2 years
Plans for this week: - For Friday, a shot-map tutorial. Thinking about making a ton of data available. ⚽️ - For Sunday reading, an essay on wealth distribution across top European leagues. If you're interested, you can subscribe here (it's free):
2
1
36
@sonofacorner
Son of a corner
2 years
📊 Which EPL teams have improved their progressive passing vs. the previous season? - Arsenal top prog. pass accuracy (+9 p.p in midfield areas vs. prev. season) - Brighton (+10 p.p. in defensive areas) - Liverpool (-7 p.p. in midfield) Code:
Tweet media one
2
4
37
@sonofacorner
Son of a corner
2 years
It's been a hectic week. Forecasts for the weekend's games will be published just before the deadline, but... This was the first week my model beat @FiveThirtyEight 🥳 So far, my model has had 4% more error than 538's and has a record of 21 - 29 in direct match forecasts.
Tweet media one
2
4
36
@sonofacorner
Son of a corner
2 years
I'm thinking that the next Figuring Figures Out tutorial should be focused on colors... What do you think? 🤔
@sonofacorner
Son of a corner
2 years
🔥 Arsenal vs. Tottenham The upcoming NLD is set to be one of the most exciting games of the season, so I decided to play around with gradients in matplotlib to check each side's xG rolling figures.
Tweet media one
3
6
66
2
2
34
@sonofacorner
Son of a corner
2 years
@DSamangy In case it helps, I'm building a newsletter and matplotlib tutorials focused on football (soccer) data.
2
0
34
@sonofacorner
Son of a corner
2 years
Glad to see so many people using the tutorials and learning more about @matplotlib :) Here's a collection of some of the visuals that have been created in the past few weeks💛
@haliguraltan
Altan Halıgür
2 years
Shooting areas in the Turkish Super League 🇹🇷 until Week 5. Viz/code used from @sonofacorner
Tweet media one
0
2
34
3
3
35
@sonofacorner
Son of a corner
2 years
I know I've been quiet for a couple of weeks but I'm working on something pretty cool that I think some of you might find useful... New website coming up 😍
Tweet media one
0
1
33
@sonofacorner
Son of a corner
2 years
Working on something... Can you guess what it is? Hint: (Inspiration comes from @unarsezer )
Tweet media one
8
0
34