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: added map.points function #14

Closed ayushanand18 closed 1 year ago

ayushanand18 commented 1 year ago

Overview

This PR aims to implement a maps.points() function to plot world maps with DwC data easily.

Addresses #12

Changes Introduced

Usage

from pydwcviz import map
from pyobis import occurrences
import matplotlib.pyplot as plt

ax = map.points(occurrences.search(scientificname="Mola mola", size=100).execute())
plt.show() # required only in a non-Jupyter interface

Thanks!