ogstools.meshplotlib.plot_setup_defaults module#

 1setup_dict = {
 2    "default_cmap": "RdBu_r",
 3    "dpi": 120,
 4    "fig_scale": 1.0,
 5    "ax_aspect_limits": (0.4, 2.2),
 6    "fig_aspect_limits": (0.2, 5.0),
 7    "invert_colorbar": False,
 8    "layout": "constrained",
 9    "length": ["m", "m"],
10    "material_names": None,
11    "num_levels": 11,
12    "num_streamline_interp_pts": 50,
13    "p_min": None,
14    "p_max": None,
15    "scale_type": "auto",
16    "show_element_edges": "MaterialIDs",
17    "show_region_bounds": True,
18    "embedded_region_names_color": None,
19    "title_center": "",
20    "title_left": "",
21    "title_right": "",
22    "x_label": None,
23    "y_label": None,
24    "log_scaled": False,
25    "combined_colorbar": True,
26    "custom_cmap": None,
27    "cmap_dict": {
28        "displacement": "Greens",
29        "temperature": ["Blues", "plasma"],
30        "pressure": "Blues",
31        "velocity": "coolwarm",
32        "MaterialIDs": "tab20",
33    },
34    "cmap_dict_if_bilinear": {"displacement": "PRGn"},
35    "cmap_if_mask": ["lightgrey", "green"],
36    "rcParams": {
37        "font.weight": "normal",
38        "font.family": "sans-serif",
39        "font.size": 32,
40        "axes.titlesize": "medium",
41        "axes.labelsize": "medium",
42        "axes.labelpad": 12,
43        "axes.grid": False,
44        "legend.fontsize": "medium",
45        "xtick.labelsize": "medium",
46        "ytick.labelsize": "medium",
47        "axes.linewidth": 1,
48        "lines.linewidth": 1,
49        "legend.framealpha": 1,
50        "mathtext.fontset": "dejavuserif",
51        "xtick.major.pad": 12,
52        "xtick.major.size": 12,
53        "xtick.direction": "in",
54        "ytick.major.pad": 12,
55        "ytick.major.size": 12,
56        "ytick.direction": "in",
57    },
58}