Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

747
Views
AttributeError: el módulo 'seaborn' no tiene atributo 'histplot'

Estoy tratando de trazar usando sns.histplot en el Titanic Dataset en el Jupyter Notebook de Kaggle.

Este es mi código:

 sns.histplot(train, x = "Age", hue="Sex")

Pero me tira este error:

 --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-11-d14c3b5a0670> in <module> ----> 1 sns.histplot(train, x = "Age", hue="Sex") AttributeError: module 'seaborn' has no attribute 'histplot'

Me aseguré de importar seaborn (las parcelas anteriores que usaban sns.barplot funcionaron bien).

Estoy ejecutando Mac OS X 10.15.6 y Seaborn versión 0.11.0.

¿Alguien podría señalar qué salió mal? Gracias por adelantado.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Actualicé el módulo seaborn usando:

 pip install -U seaborn

y resolvió el problema para mí.

over 4 years ago · Santiago Trujillo Report

0

Paso 1: mejora tu Seaborn

pip instalar seaborn --actualizar

Paso 2: reinicie Jupyter.

over 4 years ago · Santiago Trujillo Report

0

Solo para extender la respuesta de Ahsan Goheer. Intenta actualizar seaborn con:

 pip install -U seaborn

Luego reinicie el kernel de Notebook. Debería funcionar por ahora

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!