Skip to content

Update figures - #8401

Merged
jsignell merged 39 commits into
dask:mainfrom
scharlottej13:update-figures
Dec 22, 2021
Merged

jsignell merged 39 commits into
dask:mainfrom
scharlottej13:update-figures

Conversation

@scharlottej13

Copy link
Copy Markdown
Contributor

A start at updating the docs with new figures, re dask/community#135. Would love your input @jsignell and @jacobtomlinson!

@GPUtester

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@jacobtomlinson

Copy link
Copy Markdown
Member

This is really exciting to see, thanks for working on this @scharlottej13.

One thing that came up in dask/community#135 was tweaking the colour contrast of the new figures for accessibility. Have the colours in this PR been changed to fix this?

@scharlottej13

Copy link
Copy Markdown
Contributor Author

Thanks @jacobtomlinson! Yes, we're waiting on new figures with the improved color contrast, but once we have them I'll swap those in instead. Until then, happy to take feedback on figure placement (or anything else)

@ian-r-rose ian-r-rose added the documentation Improve or add to documentation label Nov 29, 2021

@ian-r-rose ian-r-rose left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for this @scharlottej13! I had a few comments, but this is looking really nice!

Any thoughts about figure placement @jacobtomlinson or @jsignell?

Comment thread docs/source/graphs.rst Outdated
simultaneously.

.. image:: images/map-reduce-task-scheduling.svg
:align: center

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

In the future, we'll be flagging these for alt text, for now we can deliberately defer :)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Since Dask is represented by the "Full Task Scheduling" box in this image, perhaps we can name check that further down?

Perhaps something like

Dask is a specification that encodes full task scheduling with minimal incidental...

(fixes a typo as a bonus)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done!

Comment thread docs/source/index.rst Outdated


.. image:: images/dask-overview.svg
.. image:: images/dask-overview.png

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think we'll want these to be SVG before merging

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I asked Christiana about this image, she's going to reach out to the designer about getting the SVG version fixed so Dask Array is not in a different color. The rest look good, though!


.. raw:: html

<iframe width="560"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Cool

the older single-machine scheduler.

.. raw:: html
.. figure:: ../images/dask-cluster-manager.svg

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The figure uses phrases like "Resource Manager" and "Cluster Manager" which are not used in the text. I think it would be worth introducing those in a sentence or two above

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added some explanatory text! Let me know what you think (and if it is correct). I also linked to some "Dask notes" blog posts-- not sure if we want to do this in the docs?

Comment thread docs/source/how-to/adaptive.rst Outdated
2. The user may be very active, and is limited by their original allocation,
particularly in the case of bursty workloads

.. image:: ../images/bursty-workloads.svg

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.

If you are using this figure to represent just the notion of a bursty workload, then I think it would make more sense not to have the adaptive part in this figure.

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.

also the sideways words on both of these are very small. Maybe they should get larger width.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good point. I removed the bursty workloads image from this page because I think the page really focuses on the adaptive part. Do you know of another place where the bursty workloads image might be a good fit in the docs?

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.

I can't think of where it would go right now, but we can still include it in the images.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ok! Removed here, but added to dask/marketing

more features, but also requires a bit more effort to set up. It can
run locally or distributed across a cluster.

.. image:: ../images/distributed-overview.svg

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.

This needs a sentence that makes it clear that distributed scheduler == distributed cluster.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I added this to the caption, let me know what you think!

@github-actions github-actions Bot removed the documentation Improve or add to documentation label Dec 9, 2021
@scharlottej13

scharlottej13 commented Dec 10, 2021 •

Copy link
Copy Markdown
Contributor Author

Thanks @ian-r-rose and @jsignell for the feedback! These updates include:

I'll also open up a PR adding the updated images to dask/marketing

@@ -0,0 +1,58 @@
<svg width="1920" height="1080" viewBox="0 0 1920 1080" fill="none" xmlns="http://www.w3.org/2000/svg">

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@jsignell this is for your border suggestion on How to... Deploy Dask clusters. Maybe the box should go around the 'schedulers' text too?

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.

Yeah I think around the schedulers too and maybe it needs a bit of text on the page that just calls out that we are talking about the schedulers section and that the distributed overview below is kind of like a zoomed in graphic about just the distributed scheduler. I am thinking about how they do in maps:

image

Not saying that we need to make something like that. I just think the graphics would be more easy to understand if we mention how they relate.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yup, that makes sense! I can adjust this a bit.

@scharlottej13 scharlottej13 changed the title [WIP] Update figures Update figures Dec 13, 2021
@scharlottej13
scharlottej13 marked this pull request as ready for review December 13, 2021 22:24
@scharlottej13

Copy link
Copy Markdown
Contributor Author

Just opened up the related PR in marketing: dask/marketing#12

If you import Dask, set up a computation, and then call ``compute``, then you
|

.. figure:: ../images/dask-overview-distributed-callout.svg

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@jsignell here's the new version of a combined Dask overview & Distributed overview images, based on your suggestion with the magnified map image

jsignell pushed a commit to dask/marketing that referenced this pull request Dec 22, 2021
- updated the figures used in the main docs with the accessible color palette (see dask/community#135 & dask/dask#8401)
- removed now out of date figures
- included updated brand guidelines, as adapted from this slide deck
[Dask-Brand Guidelines-R2.pdf](https://github.com/dask/marketing/files/7714232/Dask-Brand.Guidelines-R2.pdf)
@jsignell

Copy link
Copy Markdown
Member

This is great! Thanks @scharlottej13!!

@jsignell
jsignell merged commit 7091dfc into dask:main Dec 22, 2021
@scharlottej13
scharlottej13 deleted the update-figures branch January 3, 2022 17:11
aeisenbarth pushed a commit to aeisenbarth/dask that referenced this pull request Jan 6, 2022
A start at updating the docs with new figures, re dask/community#135.
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.

5 participants