Skip to content

document window#1349

Merged
mbostock merged 7 commits into
mainfrom
fil/ts-window
Mar 20, 2023
Merged

document window#1349
mbostock merged 7 commits into
mainfrom
fil/ts-window

Conversation

@Fil
Copy link
Copy Markdown
Contributor

@Fil Fil commented Mar 17, 2023

remarks:

  • k is not optional
  • shift is deprecated
  • added the strict option to README

for #1343

remarks:
* *k* is not optional
* *shift* is deprecated
* added the *strict* option to README
@Fil Fil requested a review from mbostock March 17, 2023 10:02
Comment thread src/transforms/window.d.ts Outdated
@Fil Fil mentioned this pull request Mar 17, 2023
3 tasks
@Fil Fil changed the title document Plot.window document window Mar 17, 2023
Comment thread src/transforms/window.d.ts Outdated
Comment thread src/transforms/window.d.ts Outdated
Comment thread src/transforms/window.d.ts Outdated
Comment thread src/transforms/window.d.ts Outdated
Fil and others added 5 commits March 20, 2023 09:27
Co-authored-by: Mike Bostock <mbostock@gmail.com>
Co-authored-by: Mike Bostock <mbostock@gmail.com>
Co-authored-by: Mike Bostock <mbostock@gmail.com>
Co-authored-by: Mike Bostock <mbostock@gmail.com>
Copy link
Copy Markdown
Member

@mbostock mbostock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tightened up the wording slightly, denoting the default parenthetically in the list, and split the paragraphs for the strict option to improve readability (since that was a bit long). I also clarified that the windowX and windowY transforms don’t just affect x and y respectively, they affect x, x1, and x2, and y, y1, and y2.

@mbostock mbostock merged commit d82fbfb into main Mar 20, 2023
@mbostock mbostock deleted the fil/ts-window branch March 20, 2023 16:47
chaichontat pushed a commit to chaichontat/plot that referenced this pull request Jan 14, 2024
* document Plot.window

remarks:
* *k* is not optional
* *shift* is deprecated
* added the *strict* option to README

* adopt @deprecated

* Update src/transforms/window.d.ts

Co-authored-by: Mike Bostock <mbostock@gmail.com>

* Update src/transforms/window.d.ts

Co-authored-by: Mike Bostock <mbostock@gmail.com>

* Update src/transforms/window.d.ts

Co-authored-by: Mike Bostock <mbostock@gmail.com>

* Update src/transforms/window.d.ts

Co-authored-by: Mike Bostock <mbostock@gmail.com>

* tweaks

---------

Co-authored-by: Mike Bostock <mbostock@gmail.com>
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