More than 1000 points in dataframe
See original GitHub issueAny dataset (tested with scatter, line) with more than 1000 points will not show anything.
This works:
px.scatter(data[:1000], x='x', y='y')
This does not show anything:
px.scatter(data[:1001], x='x', y='y')
Is there anyway to configure it? Or is it a bug?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to select all elements greater than a given values in ...
I have a csv that is read by my python code and a dataframe is created using pandas. CSV file ...
Read more >Pandas DataFrame: Select the rows where number of ...
Write a Pandas program to select the rows where number of attempts in the examination is less than 2 and score greater than...
Read more >Scaling to large datasets — pandas 1.5.2 documentation
pandas provides data structures for in-memory analytics, which makes using pandas to analyze datasets that are larger than memory datasets somewhat tricky.
Read more >How to randomly select rows from Pandas DataFrame
Let's discuss how to randomly select rows from Pandas DataFrame. A random selection of rows from a DataFrame can be achieved in different...
Read more >How to process a DataFrame with millions of rows in seconds
It can calculate basic statistics for more than a billion rows per second. ... Let's create a pandas DataFrame with 1 million rows...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah well that’s definitely the problem then 😃 Yes,
px.scatter
will automatically switch to GL mode for sufficiently large input. You can disable this by explicitly settingrender_mode="svg"
@nicolaskruchten is there any way not to use webGL in other chart types? I only see render_mode setting for line, line_polar, scatter and scatter_polar.
Thank you!