question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

In https://github.com/dask/distributed/pull/5129 we added a new “Workers network bandwidth timeseries” plot. I noticed that when the labextension sidebar is small, this plot’s name is large enough that its text doesn’t fit inside the corresponding button:

Screen Shot 2021-08-19 at 3 53 51 PM

A couple of things we might consider:

  1. We can change the plot’s name in distributed (e.g. drop the word “bandwidth” or “network”). However, as we make new plots in the future, some longer names might slip through. I suppose we could always add some test in distributed that plot names must be below X characters
  2. I’m wondering if there’s anything we can do in the labextension to dynamically change the name that’s displayed based on the size of the sidebar (e.g. adding ellipsis like “Worker network bandwidth tim…”).
  3. … something else?

cc @ncclementi for visibility

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jrbourbeaucommented, Aug 20, 2021

Ah, good point. That plot is included in performance reports currently. @mrocklin feel free to correct me if I’m wrong, but my understanding is that plot is useful and we should keep it around.

Maybe the new plots should be “workers network” and “workers network timeseries”. That will fit within the labextension button and is consistent with other plot names (e.g. “workers disk”, “workers CPU timeseries”, etc.). We can reevaluate after the release later today

0reactions
ian-r-rosecommented, Dec 20, 2021

This is now fixed by dask/distributed#5239

Read more comments on GitHub >

github_iconTop Results From Across the Web

plot - How to display long x axis labels in R
My x axis labels are really long and I cannot trim them. When i plot the graph, those labels get trimmed. How could...
Read more >
Wrap Long Axis Labels of ggplot2 Plot into Multiple Lines ...
Package. The following R programming code demonstrates how to wrap the axis labels of a ggplot2 plot so that they have a maximum...
Read more >
Displaying Column Charts with Long Label Names
Start by highlighting the labels column cells. and click on the DATA tab withing the excel spreadsheet.
Read more >
Plot line in geographic coordinates - MATLAB geoplot
This MATLAB function plots a line in a geographic axes with vertices at the latitude-longitude locations specified (in degrees) by the vectors lat...
Read more >
Plotly express wide-form support in Python
Plotly Express can produce the same plot from either form. For the long-form input, x and y are set to the respective column...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found