Skip to content

Fix the width of riemann rectangles#1762

Merged
3b1b merged 1 commit into3b1b:masterfrom
widcardw:patch-1
Mar 17, 2022
Merged

Fix the width of riemann rectangles#1762
3b1b merged 1 commit into3b1b:masterfrom
widcardw:patch-1

Conversation

@widcardw
Copy link
Contributor

Motivation

Fix the width of riemann rectangles

Proposed changes

Change the width from x1 - x0 to width=self.x_axis.n2p(x1)[0] - self.x_axis.n2p(x0)[0].

The former means the global coord width while the latter means custom coord width.

Test

image

@TonyCrane TonyCrane requested a review from 3b1b March 17, 2022 06:25
@3b1b 3b1b merged commit bb3bd41 into 3b1b:master Mar 17, 2022
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.

3 participants