Commit 72a59bc7 authored by Leon Pyka's avatar Leon Pyka
Browse files

adding rcParams to increase fontsize

parent 5172aaaf
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -5,6 +5,13 @@ import numpy as np
import os
import math

plt.rcParams.update({
    'font.size': 15,              # Default font size for all text
    'axes.labelsize': 15,         # Font size for axis labels
    'xtick.labelsize': 15,        # Font size for x-axis tick labels
    'ytick.labelsize': 15,        # Font size for y-axis tick labels
    'legend.fontsize': 15         # Font size for legend text
    })
def x_position(node, nx, ny):
    return (node%nx)

@@ -116,6 +123,7 @@ def plot_distribution_of_height(edges_coordinates_dict : dict[int, list[list[int
def plot_average_per_height(average_heights_dict):
    graph_num, width, depth = set_matplotlib_dims(average_heights_dict)
    fig, axs = plt.subplots(depth, width)
    
    fig.tight_layout(pad=1.0)
    for i, offset in enumerate(average_heights_dict.keys()):
        index = get_index(i, graph_num, width)