1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Seaborn lineplot errorbar=None gives AttributeError

Discussão em 'Python' iniciado por Stack, Setembro 14, 2024.

  1. Stack

    Stack Membro Participativo

    I am getting this error with errorbar=None attribute

    I am getting attribute error. My code works without errorbar attribute. The syntax is consistent with the seaborn documentation.

    It works without errorbar attribute:

    #ax = sns.lineplot(x='YEAR', y='SUNACTIVITY', data=sunspots_data, errorbar=None, ax=ax)
    ax = sns.lineplot(x='YEAR', y='SUNACTIVITY', data=sunspots_data, ax=ax)


    Documentation:


    errorbar string, (string, number) tuple, or callable Name of errorbar method (either “ci”, “pi”, “se”, or “sd”), or a tuple with a method name and a level parameter, or a function that maps from a vector to a (min, max) interval, or None to hide errorbar. See the errorbar tutorial for more information.
    ​

    Continue reading...

Compartilhe esta Página