- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AINeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++
- ChallengesNew
- For TeachersNew
Advanced Matplotlib
Heatmaps, two y axes, complex layouts, 3D surfaces and animations, finishing with a sales dashboard project.
Start the path →- Lesson Heatmaps with imshow and Colormaps Draw a heatmap of a 2D table with ax.imshow, a colormap, a colorbar and a value in each cell.
- Lesson Two Y Axes with twinx Plot two measures with different units on one chart using a second y axis from ax.twinx.
- Lesson Complex Layouts with subplot_mosaic Build figures with charts of different sizes using plt.subplot_mosaic and width and height ratios.
- Lesson 3D Surface Plots Draw 3D surfaces and wireframes with projection="3d", plot_surface and view_init.
- Lesson Animations with FuncAnimation Animate a chart frame by frame with FuncAnimation and save it as a GIF.
- Lesson Project: Build a Sales Dashboard Combine line, bar and histogram charts, annotations and a style into a 2 × 2 sales dashboard.