I do not know how best to describe the issue I am dealing with in matplotlib, but I am very certain all of us have encountered this at one point or another.
My first image is below, plotted with a simple ax.scatter
and nothing else:
Next, I decide to make the graph smaller, so I set the figsize
in
fig, ax = plt.subplots(figsize=(4,3))
, and I get the smaller (but now somehow less visually appealing) following result:
None of the font sizes changed to mirror the smaller graph, and most importantly, the dots on the graph have remained the same exact size, and give a crowded and ugly look to the graph now.
Is there an automatic method to get matplotlib to scale all of a graph's elements in a nicer way, or mundane fixes I could try? I tried matplotlib.rcParams['font.size'] = new_size
, to no avail, and matplotlib.rcParams['figure.dpi'] = new_dpi
helps a little, but does not give me enough fine-grained control.