Adjusting space between gridspec subplots for better alignment
Adjusting space between gridspec subplots for better alignment Question: I’m using matplotlib.gridspec to create a grid for 3 axes. My current code looks like: from matplotlib import pyplot as plt from matplotlib.gridspec import GridSpec import pandas as pd df = pd.DataFrame({‘d1’: [20,30,40], ‘d2’: [10,20,30]}, index=[‘a’, ‘b’, ‘c’]) # Dataset to emulate real data structure df …