issues: 1627475180
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1627475180 | I_kwDOAMm_X85hAUzs | 7637 | faceted plot uses wrong vmin and vmax #7605 | 57763453 | closed | 0 | 0 | 2023-03-16T13:26:46Z | 2023-03-16T14:26:55Z | 2023-03-16T14:26:55Z | NONE | I was curious to extract the vmin and vmax used with faceted plot, and i found out that it doesn't use the right values. ```py import xarray as xr import numpy as np airtemps = xr.tutorial.open_dataset("air_temperature") air = airtemps.air - 273.15 t = air.isel(time=slice(0, 365 * 4, 250)) t.coords t.plot(x="lon", y="lat", col="time", col_wrap=3) lets check the min and max of the air DataArraymin_air, max_air = np.nanmin(t.values) , np.nanmax(t.values) print(min_air, max_air) >> -46.550003 36.950012the max is max_air = 36.950012 while in the facet plot, the vmax is more than 40. why is that ?``` Originally posted by @WalidGharianiEAGLE in https://github.com/pydata/xarray/discussions/7605 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7637/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
not_planned | 13221727 | issue |