holoviz / hvplot

A high-level plotting API for pandas, dask, xarray, and networkx built on HoloViews
https://hvplot.holoviz.org
BSD 3-Clause "New" or "Revised" License
1.13k stars 109 forks source link

Quadmesh flips image upside down #23

Closed ahuang11 closed 6 years ago

ahuang11 commented 6 years ago
import os
import xarray as xr
import holoviews as hv
import geoviews as gv
import holoplot.xarray
hv.extension('bokeh')

os.system(
    'wget '
    'ftp://ftp.cdc.noaa.gov/'
    'Datasets/ncep.reanalysis.dailyavgs/'
    'surface/'
    'air.sig995.2018.nc'
)

obs_ds = xr.open_dataset('air.sig995.2018.nc')
obs_ds.holoplot.quadmesh(x='lon', y='lat', z='air', groupby='time')
obs_ds.holoplot.image(x='lon', y='lat', z='air', groupby='time')

Or maybe I just don't really know what the difference between quadmesh and image is.

image

philippjfr commented 6 years ago

This one is quite bizarre, I didn't think it was possible for a quadmesh to be inverted. Will have to look into this before releasing tomorrow.

philippjfr commented 6 years ago

Found the issue, the fix should be in the HoloViews release tomorrow.