@@ -514,7 +514,7 @@ def fmt(x, pos):
514514 cbar .set_label (ylabel , labelpad = 3 )
515515 # tick_labels = ['{:.2f}'.format(value) for value in levels]
516516 tick_positions = np .arange (ymin , ymax + 0.1 , increment )
517- tick_labels = [f"{ abs ( value ) :.1f} " for value in tick_positions ]
517+ tick_labels = [f"{ value :.1f} " for value in tick_positions ]
518518
519519 cbar .set_ticks (tick_positions )
520520 cbar .set_ticklabels (tick_labels )
@@ -581,7 +581,7 @@ def fmt(x, pos):
581581 cbar .set_label (ylabel , labelpad = 3 )
582582 # tick_labels = ['{:.2f}'.format(value) for value in levels]
583583 tick_positions = np .arange (ymin , ymax + 0.1 , increment )
584- tick_labels = [f"{ abs ( value ) :.1f} " for value in tick_positions ]
584+ tick_labels = [f"{ value :.1f} " for value in tick_positions ]
585585
586586 cbar .set_ticks (tick_positions )
587587 cbar .set_ticklabels (tick_labels )
@@ -624,7 +624,7 @@ def plot_3d_contour_regions_np(
624624 plt .ylim (np .min (yticks ), np .max (yticks ))
625625 plt .xticks (np .arange (x1min , x1max + 0.1 , x1base ))
626626 plt .yticks (np .arange (x2min , x2max + 0.1 , x2base ))
627- ax .contour (xint , yint , grid , cset .levels , colors = "black" , linewidths = 0.1 )
627+ ax .contour (xint , yint , grid , cszet .levels , colors = "black" , linewidths = 0.1 )
628628
629629 def fmt (x , pos ):
630630 return "%.0f" % x
0 commit comments