Answers for "mutualise xlabel for subplots"

1

mutualise xlabel for subplots

import matplotlib.pyplot as plt

fig, ax = plt.subplots(nrows=3, ncols=3, sharex=True, sharey=True, figsize=(6, 6))

fig.text(0.5, 0.04, 'common X', ha='center')
fig.text(0.04, 0.5, 'common Y', va='center', rotation='vertical')
Posted by: Guest on March-29-2021

Browse Popular Code Answers by Language