Skip to content

Forward port fix scale domain no data #1619 - #1620

Merged
martinRenou merged 4 commits into
bqplot:masterfrom
martinRenou:forward_port_fix_scale_domain_no_data
Jul 27, 2023
Merged

martinRenou merged 4 commits into
bqplot:masterfrom
martinRenou:forward_port_fix_scale_domain_no_data

Conversation

@martinRenou

Copy link
Copy Markdown
Member

@martinRenou
martinRenou force-pushed the forward_port_fix_scale_domain_no_data branch from 1101ed2 to d87613a Compare July 27, 2023 09:46
maartenbreddels and others added 3 commits July 27, 2023 13:10
Fixes bqplot#1614

If no data is present, a scale has a domain of (0, 1) but if we
remove the data (set it to an empty array) afterwards, we set it
to (-inf, +inf) which causes rendering issues and make the bqplot
figure unable to restore itself.
It is more consistent to behave like no data was passed in, and use
(0, 1) for the domain.
@martinRenou
martinRenou force-pushed the forward_port_fix_scale_domain_no_data branch from d87613a to 0c29c01 Compare July 27, 2023 11:10
@martinRenou

Copy link
Copy Markdown
Member Author

update galata references

@martinRenou

Copy link
Copy Markdown
Member Author

Triggering CI

@martinRenou martinRenou reopened this Jul 27, 2023
@martinRenou
martinRenou merged commit cd8a636 into bqplot:master Jul 27, 2023
@martinRenou
martinRenou deleted the forward_port_fix_scale_domain_no_data branch July 27, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants