Changes

Jump to navigation Jump to search
81 bytes added ,  20:31, 12 February 2022
m
Line 380: Line 380:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
=== Subplots ===
+
===Subplots===
 
<syntaxhighlight lang="python3">
 
<syntaxhighlight lang="python3">
 
import pandas as pd
 
import pandas as pd
Line 392: Line 392:  
py_salaries = data['Python']
 
py_salaries = data['Python']
 
js_salaries = data['JavaScript']
 
js_salaries = data['JavaScript']
 +
 +
# On same figure:
 +
# fig, (ax1, ax2) = plt.subplots(nrows=2, ncols=1, sharex=True)
    
fig1, ax1 = plt.subplots()
 
fig1, ax1 = plt.subplots()

Navigation menu