Skip to content

broken_axis_plot__most_done_only_axis_allignmnet_left

esta.plot.broken_axis_plot__most_done_only_axis_allignmnet_left

get_broken_axis_plot(x, y, y_lim1, y_lim2, y_lim3, y_lim4)

Broken axis example, where the y-axis will have a portion cut out.

input:
x : x data
y : y data
y_lim1 = [0.78,   1] --> range of y aixs for outlier data
y_lim2 = [0   ,0.22] --> range of y aixs for main part of the data

# for -ve y axis data ...
y_lim3 = [0.78,   1] --> range of y aixs for outlier data
y_lim4 = [0   ,0.22] --> range of y aixs for main part of the data
output:
plot : broken axis plot