ASA Connect

 View Only

density plots added to stemgraphic

  • 1.  density plots added to stemgraphic

    Posted 03-22-2018 23:29
    I've added density plots to the stemgraphic package. Demo notebook, using the classic Titanic dataset:

    Version 0.6.1

    • back-to-back stem-and-leaf plots can use predefined axes (secondary ax added)
    • added quantize function (basically a round trip number->stem-and-leaf->number))
    • density_plot added for numerical values with stem-and-leaf quantization and sampling
    • density_plot also support multiple secondary plots like box, violin, rug, strip
    • notebook demoing density_plot
    • notebook demoing comparison of violin, box and stem-and-leaf for certain distributions

    Demo notebook, using the classic Titanic dataset:

    https://github.com/fdion/stemgraphic/blob/master/notebooks/density_plot.ipynb

    And demo notebook comparing violin plots, box-and-whisker plots and stem-and-leaf plots:
    fdion/stemgraphic
    GitHub remove preview
    fdion/stemgraphic
    stemgraphics python package
    View this on GitHub >


    ------------------------------
    Francois Dion
    Chief Data Scientist
    Dion Research LLC
    ------------------------------