shapelib/matplot.py
def geom_plot(geom, xrange=None, yrange=None, axis_visible=True, patchkws={}, aspect=1):
    """
    xrange: a number (xmax) or a tuple (xmin, xmax) defining the range to plot
            in the x coord
    yrange: the same in the y coord. If these are not given, they are deduced
            from the coordinates of the geometry
    width: used only when the geometry is not a polygon but a line or a ring.
    axis_visible: show the axis and labels
    patchkws: passed as kws to descartes.PolygonPatch
    aspect: parameter passed to axis.set_aspect (possible values: 'auto',
            or a number defining the ratio y/x)
    """
    fig = geom_to_fig(geom, xrange=xrange, yrange=yrange,
                      axis_visible=axis_visible, patchkws=patchkws,
                      aspect=aspect)
    fig.show()

    xrange: a number (xmax) or a tuple (xmin, xmax) defining the range to plot
            in the x coord
    yrange: the same in the y coord. If these are not given, they are deduced
            from the coordinates of the geometry
    width: used only when the geometry is not a polygon but a line or a ring.
    axis_visible: show the axis and labels
    patchkws: passed as kws to descartes.PolygonPatch
    aspect: parameter passed to axis.set_aspect (possible values: 'auto',
            or a number defining the ratio y/x)
    
a number (xmax) or a tuple (xmin, xmax) defining the range to plot
in the x coord
yrange: the same in the y coord. If these are not given, they are deduced
from the coordinates of the geometry
width: used only when the geometry is not a polygon but a line or a ring.
axis_visible: show the axis and labels
patchkws: passed as kws to descartes.PolygonPatch
aspect: parameter passed to axis.set_aspect (possible values: 'auto',
or a number defining the ratio y/x)
a number ( xmax ) or a tuple ( xmin xmax ) defining the range to plot in the x coord yrange : the same in the y coord . If these are not given they are deduced from the coordinates of the geometry width : used only when the geometry is not a polygon but a line or a ring . axis_visible : show the axis and labels patchkws : passed as kws to descartes . PolygonPatch aspect : parameter passed to axis . set_aspect ( possible values : ' auto ' or a number defining the ratio y / x )
def geom_plot(geom, xrange=None, yrange=None, axis_visible=True, patchkws={}, aspect=1):
    fig = geom_to_fig(geom, xrange=xrange, yrange=yrange,
                      axis_visible=axis_visible, patchkws=patchkws,
                      aspect=aspect)
    fig.show()
def geom_plot ( geom , xrange = None , yrange = None , axis_visible = True , patchkws = { } , aspect = 1 ) : fig = geom_to_fig ( geom , xrange = xrange , yrange = yrange , axis_visible = axis_visible , patchkws = patchkws , aspect = aspect ) fig . show ( )
xrange: a number (xmax) or a tuple (xmin, xmax) defining the range to plot
in the x coord
yrange: the same in the y coord.
xrange : a number ( xmax ) or a tuple ( xmin xmax ) defining the range to plot in the x coord yrange : the same in the y coord .
"""
    xrange: a number (xmax) or a tuple (xmin, xmax) defining the range to plot
            in the x coord
    yrange: the same in the y coord. If these are not given, they are deduced
            from the coordinates of the geometry
    width: used only when the geometry is not a polygon but a line or a ring.
    axis_visible: show the axis and labels
    patchkws: passed as kws to descartes.PolygonPatch
    aspect: parameter passed to axis.set_aspect (possible values: 'auto',
            or a number defining the ratio y/x)
    """
geom
xrange
yrange
axis_visible
patchkws
aspect