h5analysis.datautil.bokeh_image_boundaries

h5analysis.datautil.bokeh_image_boundaries(x, y)

Calculates the boundaries and width for the displayed image

Parameters:
  • x (1d array)

  • y (1d array)

Returns:

  • plot_x_corner (coordinates of the lower left corner on x)

  • plot_y_corner (coordinates of the lower left corner on y)

  • plot_dw (with of the plot (in data coordinates))

  • plot_df (height of the plot (in data coordinates))