Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Images class to format a list of images as an HTML table #492

Merged
merged 2 commits into from
Oct 14, 2017

Conversation

jbednar
Copy link
Member

@jbednar jbednar commented Oct 10, 2017

Added Images class to format a list of images as an HTML table, to make it simpler to write notebooks and documentation for datashader. Supports labelling each image with its xarray name, and so also added support for passing name into the various ways to create the image.

@jbednar
Copy link
Member Author

jbednar commented Oct 10, 2017

With this PR, you can now do things like:

image

Open question: Why is the background a darker gray? And why does it highlight when the mouse hovers over it?

image

@jbednar jbednar merged commit 13baf62 into master Oct 14, 2017
@jbednar jbednar deleted the images branch October 14, 2017 13:01
@jbednar
Copy link
Member Author

jbednar commented Oct 20, 2017

I think the answer to why the table version is a darker gray and why it highlights is this change to jupyter: jupyter/notebook#1776

This behavior makes sense for tables of spreadsheet-like data:

image

But not for tables used just for formatting purposes, as here. The relevant CSS appears to be in this file, but I'm not quite sure how to cram it into the inline styles that I can see using here.

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.

1 participant