Skip to content

seaborn warnings #363

Closed
Closed

Description

@Smit-create

See the lecture: https://python.quantecon.org/pandas_panel.html

/tmp/ipykernel_4348/13690229.py:6: FutureWarning: 

`shade` is now deprecated in favor of `fill`; setting `fill=True`.
This will become an error in seaborn v0.14.0; please update your code.

  sns.kdeplot(grouped.get_group(continent).loc['2015'].unstack(), label=continent, shade=True)
/tmp/ipykernel_4348/13690229.py:6: FutureWarning: 

`shade` is now deprecated in favor of `fill`; setting `fill=True`.
This will become an error in seaborn v0.14.0; please update your code.

  sns.kdeplot(grouped.get_group(continent).loc['2015'].unstack(), label=continent, shade=True)
/tmp/ipykernel_4348/13690229.py:6: FutureWarning: 

`shade` is now deprecated in favor of `fill`; setting `fill=True`.
This will become an error in seaborn v0.14.0; please update your code.

  sns.kdeplot(grouped.get_group(continent).loc['2015'].unstack(), label=continent, shade=True)

Activity

  1. jstac commented on Sep 4, 2023

    @jstac
    Contributor

    Thanks @Smit-create , good catch.

    It would be nice if we had a script that parsed our html output searching for the word "ipykernel" and flagged any pages where it appears...

  2. mxfactorial commented on Oct 8, 2023

    @mxfactorial

    add after line 85:

    #!/bin/bash
    html_dir=_build/html
    match=ipykernel_
    count=$(ps -ef | grep -r --count --max-count=1 "$match" "$html_dir" | { grep -v grep || test $? = 1; } | cut -f2 -d":")
    if [[ $count -gt 0 ]]; then grep -r "$match" "$html_dir" && exit 1; fi

    best wishes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions