Skip to content

example to show the 3d dataset#5120

Merged
mkcor merged 4 commits intoscikit-image:masterfrom
emmanuelle:data-3d
Dec 30, 2020
Merged

example to show the 3d dataset#5120
mkcor merged 4 commits intoscikit-image:masterfrom
emmanuelle:data-3d

Conversation

@emmanuelle
Copy link
Copy Markdown
Member

@emmanuelle emmanuelle commented Dec 9, 2020

@pep8speaks
Copy link
Copy Markdown

pep8speaks commented Dec 9, 2020

Hello @emmanuelle! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 7:77: W291 trailing whitespace
Line 11:80: E501 line too long (84 > 79 characters)

Line 155:1: E402 module level import not at top of file

Comment last updated at 2020-12-30 10:49:45 UTC

Copy link
Copy Markdown
Member

@mkcor mkcor left a comment

Choose a reason for hiding this comment

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

Wonderful! I will link to this example whenever I use the dataset in question in other examples.

Co-authored-by: Marianne Corvellec <[email protected]>
Co-authored-by: Marianne Corvellec <[email protected]>
Copy link
Copy Markdown
Member

@mkcor mkcor left a comment

Choose a reason for hiding this comment

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

Up to the tiny typo fix!

binary_string=True, binary_format='jpg')
fig.layout.annotations[0]['text'] = 'Cell membranes'
fig.layout.annotations[1]['text'] = 'Nuclei'
plotly.io.show(fig)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

For my personal understanding, why isn't fig.show() enough in this case? I have checked locally that it isn't indeed, but I don't know why. 😯 Thanks!

@mkcor
Copy link
Copy Markdown
Member

mkcor commented Dec 29, 2020

The test fail is unrelated to this PR.

@jni I remember you mentioning that docs-only PR required only one approving review before merging? Under https://scikit-image.org/docs/stable/contribute.html#guidelines, I'm reading that "No changes are ever committed [to master] without review and approval by two core team members" so I'm hesitant... Should we update these guidelines?

Copy link
Copy Markdown
Contributor

@grlee77 grlee77 left a comment

Choose a reason for hiding this comment

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

Thanks, Emma. The doc artifact for this looks good. Very convenient to have that in the PR now!

ipywidgets
plotly>=4.10.0
plotly>=4.14.0
kaleido
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I wasn't familiar with kaleido, but it looks like plotly uses it for static image export when it is available.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@grlee77
Copy link
Copy Markdown
Contributor

grlee77 commented Dec 29, 2020

@jni I remember you mentioning that docs-only PR required only one approving review before merging? Under https://scikit-image.org/docs/stable/contribute.html#guidelines, I'm reading that "No changes are ever committed [to master] without review and approval by two core team members" so I'm hesitant... Should we update these guidelines?

I would be +1 on updating the guidelines there. One approving review seems sufficient for doc PRs. I think it is mainly PRs involving API changes where it is important to get consensus from multiple reviewers.

That said, we now have 2 approvals here if you want to hit the green button!

@mkcor mkcor merged commit 742ff58 into scikit-image:master Dec 30, 2020
@mkcor
Copy link
Copy Markdown
Member

mkcor commented Dec 30, 2020

Ok, done! Thanks, @grlee77 -- will submit an update to the contribution guidelines.

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.

4 participants