Skip to content

Commit

Permalink
Fix incorrect plot order due to arg order
Browse files Browse the repository at this point in the history
- Fix incorrect left text position float adjustment
  • Loading branch information
tomvothecoder committed Mar 19, 2024
1 parent 23c93ac commit 18632e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e3sm_diags/driver/meridional_mean_2d_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from e3sm_diags.logger import custom_logger
from e3sm_diags.metrics.metrics import correlation, rmse, spatial_avg
from e3sm_diags.parameter.zonal_mean_2d_parameter import DEFAULT_PLEVS
from e3sm_diags.plot.cartopy.meridional_mean_2d_plot import plot as plot_func
from e3sm_diags.plot.meridional_mean_2d_plot import plot as plot_func

logger = custom_logger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion e3sm_diags/plot/meridional_mean_2d_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def add_cyclic(var):

def plot(
parameter: CoreParameter,
da_ref: xr.DataArray,
da_test: xr.DataArray,
da_ref: xr.DataArray,
da_diff: xr.DataArray,
metrics_dict: MetricsDict,
):
Expand Down
2 changes: 1 addition & 1 deletion e3sm_diags/plot/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ def _add_min_mean_max_text(
fontdict = {"fontsize": fontsize}

if left_text_pos is None:
left_text_pos = (0.6335, 0.2107)
left_text_pos = (0.6635, 0.2107)

if right_text_pos is None:
right_text_pos = (0.7635, 0.2107)
Expand Down

0 comments on commit 18632e3

Please sign in to comment.