question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

More than 1000 points in dataframe

See original GitHub issue

Any 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:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
nicolaskruchtencommented, Sep 26, 2019

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 setting render_mode="svg"

2reactions
artditocommented, Mar 4, 2021

@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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found