def show(self, ax:plt.Axes=None, figsize:tuple=(3,3), title:Optional[str]=None, hide_axis:bool=True, **kwargs):
        "Show the `ImagePoints` on `ax`."
        if ax is None: _,ax = plt.subplots(figsize=figsize)
        pnt = scale_flow(FlowField(self.size, self.data), to_unit=False).flow.flip(1)
        params = {'s': 10, 'marker': '.', 'c': 'r', **kwargs}
        ax.scatter(pnt[:, 0], pnt[:, 1], **params)
        if hide_axis: ax.axis('off')
        if title: ax.set_title(title)
def show ( self , ax : plt . Axes = None , figsize : tuple = ( 3 , 3 ) , title : Optional [ str ] = None , hide_axis : bool = True , ** kwargs ) : if ax is None : _ , ax = plt . subplots ( figsize = figsize ) pnt = scale_flow ( FlowField ( self . size , self . data ) , to_unit = False ) . flow . flip ( 1 ) params = { 's' : 10 , 'marker' : '.' , 'c' : 'r' , ** kwargs } ax . scatter ( pnt [ : , 0 ] , pnt [ : , 1 ] , ** params ) if hide_axis : ax . axis ( 'off' ) if title : ax . set_title ( title )
Show the `ImagePoints` on `ax`.