Comments (6)
What version of seaborn are you using ? I expect this problem would go away by updating to the latest version. Also, it would be best to provide an easily reproducible example instead of a custom dataframe.
from seaborn.
Bellow is the information of my seaborn obtained using conda list seaborn
# Name Version Build Channel
seaborn 0.10.1 py_0 conda-forge
seaborn-base 0.12.1 pyhd8ed1ab_0
The simple example replicating the issue that you request is below:
import pandas as pd
import seaborn as sns
a = {
'A': [1,2,3,4,5,6],
'B': [6,5,4,3,2,1]
}
sns.lineplot(data=a, x='A', y='B')
from seaborn.
Did you try to upgrade seaborn? (Or downgrade numpy?) The packages seaborn is built on (matplotlib, numpy, pandas, scipy, ...) frequently introduce non-compatible changes, and the only way to cope, is to upgrade seaborn (or downgrade the conflicting library). Note that seaborn 0.10.1 is from April 2020.
from seaborn.
I tried. with conda update seaborn
just after the issue appeared to solve the issue, but it is still present there.
from seaborn.
Your version of seaborn is severely outdated, the current version is 0.13. I am not sure why you have such an old version since Anaconda distributes 0.12 ; I recommend using conda-forge to install the latest version of seaborn.
from seaborn.
Looks like this was addressed in seaborn back in 2020: #2236
Your environment looks wonky as you have both seaborn
and seaborn-base
. I'd sort that out and then make sure that when you do import seaborn
you're actually getting the updated version (print(seaborn.__version__)
)
from seaborn.
Related Issues (20)
- `sns.relplot()` legend not showing marker `'x'`, `'+'`, '1', '2' etc. HOT 2
- Future deprecation of palette without hue - the proposed solution does not yield the same result HOT 2
- Relplot refline error in situations when using dataframes w/ duplicate indicies
- Is there a plan to add internal axvline/axhline support to seaborn.objects soon? HOT 8
- Geographic Filled KDE Plot HOT 5
- Figure in the plot is not showing in heatmap in 0.12.2,but everything works right in 0.9.0 HOT 1
- Split violin plots not working HOT 7
- Expose error estimators and other statistical summary measures used for plots which perform aggregation and error estimates HOT 1
- sns.regplot regression line fails with large values HOT 2
- Feature Request: Continuous axes heat map
- Incorrect errobar for drawstyle='steps-post' HOT 2
- Seaborn objects interface: Log transformed bar plot does not plot correctly HOT 1
- [Bug] Plotting categorical columns includes empty categories HOT 3
- inconsistent ability to use palette to set alpha HOT 6
- UNITS of colorbar in 2D KDE plot? HOT 4
- Issue with facet grid and legends HOT 2
- Overlaying Plots HOT 2
- Add a second legend in a strip plot within FacetGrid. Is it possible? HOT 1
- Violinplot breaks when `x` parameter is removed HOT 2
- AttributeError: module 'matplotlib.cm' has no attribute 'register_cmap' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seaborn.