Closed a-t-0 closed 1 year ago
Refactor
class Plot_config: """Stores the configuration for the plots.""" # pylint: disable=R0903 # pylint: disable=R0913 # pylint: disable=R0914 @typechecked def __init__( self, base_pixel_width: int, base_pixel_height: int, dx_redundant_factor: float, dy_redundant_factor: float, edge_width_factor: float, edge_label_size_factor: float, neuron_text_size_factor: float, node_size: float, recursive_edge_radius_factor: float, show_nodes: bool, show_node_colours: bool, show_node_labels: bool, show_node_opacity: bool, show_edge_colours: bool, show_edge_labels: bool, show_edge_opacity: bool, show_x_ticks: bool, show_y_ticks: bool, redundant_curve_factor: float, update_node_colours: bool, update_node_labels: bool, update_node_opacity: bool, update_edge_colours: bool, update_edge_labels: bool, update_edge_opacity: bool, x_node_spacer_factor: float, x_tick_size_factor: float, y_node_spacer_factor: float, y_tick_size_factor: float, ) -> None: """Creates the plot configuration to generate the svg files."""
to:
dx_redundant_factor
dy_redundant_factor
y_node_spacer_factor:
Done.
Refactor
to:
dx_redundant_factor
anddy_redundant_factor
to: 1 radius for redundant neurons.y_node_spacer_factor:
to a degree receiver spacing.