question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Facetgrid: colors beyond range (extend) not saturated

See original GitHub issue

Code Sample, a copy-pastable example if possible

Screen Shot 2019-04-30 at 11 59 30

Minimal example here: https://github.com/lvankampenhout/bug-reports/blob/master/Facetgrid_cmap_extend.ipynb

Problem description

The extreme colors of neither the pcolormesh or colorbar (using extend=‘both’) are not saturated as they should when faceting.

Output of xr.show_versions()

INSTALLED VERSIONS ------------------ commit: None python: 3.6.8 |Anaconda custom (x86_64)| (default, Dec 29 2018, 19:04:46) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] python-bits: 64 OS: Darwin OS-release: 17.7.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: C LANG: None LOCALE: None.None libhdf5: 1.10.1 libnetcdf: 4.4.1.1

xarray: 0.12.1 pandas: 0.23.4 numpy: 1.14.2 scipy: 0.18.1 netCDF4: 1.3.1 pydap: None h5netcdf: None h5py: 2.7.1 Nio: None zarr: None cftime: 1.0.0b1 nc_time_axis: None PseudonetCDF: None rasterio: None cfgrib: None iris: None bottleneck: 1.2.0 dask: 0.13.0 distributed: None matplotlib: 3.0.2 cartopy: 0.16.0 seaborn: 0.7.1 setuptools: 38.5.1 pip: 9.0.1 conda: 4.6.14 pytest: 3.0.5 IPython: 5.1.0 sphinx: 1.5.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
dcheriancommented, Mar 29, 2020

Seems to work now? probably fixed by #3601

7cfd12224bfde93bb1a8192bb4e9c2a82ab6f9a5

0reactions
dcheriancommented, Jun 22, 2019

See #3038

Read more comments on GitHub >

github_iconTop Results From Across the Web

seaborn.FacetGrid — seaborn 0.12.1 documentation - PyData |
This class maps a dataset onto multiple axes arrayed in a grid of rows and columns that correspond to levels of variables in...
Read more >
How to add additional plots to a seaborn FacetGrid and ...
Is there a way to create a Seaborn line plot with all the lines gray and the mean as a red line? I'm...
Read more >
categorical.py
Ensure that the groupby will work if not isinstance(vals, pd. ... color, palette, saturation): """Get a list of colors for the main component...
Read more >
EDA Basic Plotting Interpretation-Haberman Cancer - Kaggle
The extended vertical lines beyond the colored boxes are the Whiskers, whose length is 1.5 times the Inter Quartile Range. In [21]:.
Read more >
n7_Visualizing Online Data_pycountry_scientific ... - CSDN博客
While we are not going to cover the details of using APIs here as ... regplot() with FacetGrid such that we can create...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found