axis =0 in python code example
Example 1: add x axis label python
plt.xlabel("X axis label")
Example 2: twin axis python
import numpy as np
import matplotlib.pyplot as plt
ax1=plt.subplot(111)
ax1.plot(np.arange(0,10),np.arange(0,10))
ax2=ax1.twinx()
ax2.plot(np.arange(10,20),np.arange(100,110))
Example 3: axis = 1 python
axis = 1 => 'Coulumn'
axis = 0 => 'Row'
+------------+---------+--------+
| | A | B |...
+------------+---------+---------
| 0 | 0.626386| 1.52325|----axis=1----->
+------------+---------+--------+
. | |
. | axis=0 |
↓ ↓