marinebon / py-dwc-viz

Python Package for data analysis and visualisation for Darwin Core data, with plug-and-play from providers like OBIS and GBIF.
https://marinebon.github.io/py-dwc-viz/
GNU General Public License v3.0
1 stars 1 forks source link

update: adding visualization methods to `stats` module #9

Closed ayushanand18 closed 1 year ago

ayushanand18 commented 1 year ago

Overview

This PR is in succession to #8 and adds visualization methods to the stats module.

Changes introduced

The following functions have been added as a part of this update:

function dist_years: Get a bar graph of distribution of number of records per year
function dist_env:  Get a distribution of environmental parameters: SST, SSS and depth

Example plot

Generated using:

stats.dist_env(stats.get_env(taxonid = 1071), parameter="depth", interactive=True)

newplot

Thanks!

ayushanand18 commented 1 year ago

This PR is in succession to https://github.com/marinebon/py-dwc-viz/pull/8. Hence, waiting for the latter to merge.