.. py:currentmodule:: astropathdb.tools.toolutils :py:func:`.create_2d_mesh` ==================================== .. py:function:: create_2d_mesh(x, y, scale = 64, *, density = True, weights = None, zero_min = True, padding = 0) :single-line-parameter-list: Create a square 2d mesh of the provided data space. :param x: the x coordinates :param y: the y coordinates :param scale: the size of the 2d mesh bins to create. :param density: whether to normalize the histogram :param weights: the weights to use for the histogram :param zero_min: whether to set the minimum values to zero :param padding: the amount of padding to add to the limits