Skip to content

Commit

Permalink
fixed the type of config_value in calculate_plot_dimension to string #…
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaBurek committed Feb 27, 2023
1 parent cbdba40 commit c4ace2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metplotpy/plots/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def create_list_by_plot_val_ordering(self, setting_to_order: str) -> list:
return ordered_settings_list


def calculate_plot_dimension(self, config_value: int , output_units: str) -> int:
def calculate_plot_dimension(self, config_value: str , output_units: str) -> int:
'''
To calculate the width or height that defines the size of the plot.
Matplotlib defines these values in inches, Python plotly defines these
Expand Down

0 comments on commit c4ace2e

Please sign in to comment.