shapeplotter

A simple library to plot shapely objects.


License
GPL-3.0
Install
pip install shapeplotter==0.3

Documentation

ShapePlotter

A simple library to plot shapely objects.

Installation

Install with:

    pip install shapeplotter

Usage examples

For plotting a 2D wireframe of a 2D shape:

    import shapeplotter
    from shapely.geometry import Polygon
    
    polygon = Polygon([(0, 0), (1, 1), (1, 0)])
    plotter = shapeplotter.Plotter()
    plotter.addwire(polygon)
    plotter.plot()
    plotter.clear()