w3resource
w3resource logo
Python Exercises

Matplotlib: - Exercises, Practice, Solution

[An editor is available at the bottom of the page to write and execute the scripts.]

Matplotlib Basic [15 exercises with solution]

Matplotlib Bar Chart [17 exercises with solution]

Matplotlib Pie Chart [4 exercises with solution]

More to Come !

Popularity of Programming Language
Worldwide, Mar 2018 compared to a year ago:

Rank Change Language Share Trend
1 Java 22.62 % -0.8 %
2 Python 22.05 % +5.2 %
3 up arrow Javascript 8.56 % +0.2 %
4 down arrow PHP 8.22 % -1.8 %
5 down arrow C# 7.95 % -0.7 %
6 C 6.38 % -1.1 %
7 up arrow R 4.26 % +0.4 %
8 down arrow Objective-C 3.7 -1.0 %
9 Swift 2.92 % -0.6%
10 Matlab 2.31 % -0.4 %
11 Ruby 1.7 % -0.4 %
12 up arrow TypeScript 1.58 % +0.5 %
13 VBA 1.39% +0.0 %
14 down arrow Visual Basic 1.27 % -0.3 %
15 down arrow Scala 1.2 % -0.0 %
16 up arrow Kotlin 0.92 % +0.8 %
17 Go 0.84 % +0.3 %
18 down arrow Perl 0.78 % -0.1 %
19 down arrow lua 0.37 % -0.2 %
20 up arrow Rust 0.36 % +0.0 %
21 down arrow Haskell 0.31 % -0.0 %
22 down arrow Delphi 0.29% -0.1 %

Source : http://pypl.github.io/PYPL.html

TIOBE Index for April 2018

Apr 2018 Apr 2017 Change Programming Language Ratings Change
1 1 Java 15.777% +0.21%
2 2 C 13.589% +6.62%
3 3 C++ 7.218% +2.66%
4 5 up arrow Python 5.803% +2.35%
5 4 down arrow C# 5.265% +1.69%
6 7 up arrow Visual Basic .NET 4.947% +1.70%
7 6 down arrow PHP 4.218% +0.84%
8 8 JavaScript 3.492% +0.64%
9 - up arrow SQL 2.650% +2.65%
10 11 up arrow Ruby 2.018% -0.29%
11 9 down arrow Delphi/Object Pascal 1.961% -0.86%
12 15 up arrow R 1.806% -0.33%
13 16 up arrow Visual Basic 1.798% -0.26%
14 13 down arrow Assembly language 1.655% -0.51%
15 12 down arrow Swift 1.534% -0.75%
16 10 down arrow Perl 1.527% -0.89%
17 17 MATLAB 1.457% -0.59%
18 14 down arrow Objective-C 1.250% -0.91%
19 18 down arrow Go 1.180% -0.79%
20 20 PL/SQL 1.173% -0.45%

Source : https://www.tiobe.com/tiobe-index/

List of Exercises with Solutions :