Skip to content
#

Data visualization

Data visualization is the visual depiction of data through the use of graphs, plots, and informational graphics. Its practitioners use statistics and data science to convey the meaning behind data in ethical and accurate ways.

Here are 10,865 public repositories matching this topic...

tvst
tvst commented Sep 23, 2021

Summary

All Streamlit widgets and elements fade when the app is rerunning. But this is not happening for st.expander.

Steps to reproduce

Code snippet:

import streamlit as st
import time

time.sleep(10)  # Makes it easier to see the bug

st.write("This fades correctly")
st.button("This too")

with st.expander("This doesn't fade"):
  st.write("but this fades")
dash
mwaskom
mwaskom commented Sep 17, 2021

Bug summary

The only way (that I am aware of) to control the linewidth of hatches is through an rc parameter. But temporarily modifying the parameter with plt.rc_context has not effect.

Code for reproduction

import matplotlib.pyplot as plt

plt.figure().subplots().bar([0, 1], [1, 2], hatch=["/", "."], fc="r")

with plt.rc_context({"hatch.linewidth": 5}):
    plt.
beccanelson
beccanelson commented Aug 4, 2021

Bugs and Questions

The Problem

While I was debugging another issue, I noticed that the example included two bars with the same x and y values, and when you mouse over one of these bars both tooltips show up. It seems like Victory uses the x/y value to determine whether the tooltip is active when there is not another identifier.

Reproduction

https://codesandbox.io/s/frosty-du

thadguidry
thadguidry commented Sep 28, 2021

There is no easy way to navigate up the parse tree provided by jsoup selector syntax. We currently can navigate down very easily with Jsoup's selector syntax value.parseHtml().select("div > p") and also value.parseHtml().select("div:has(@) ~ div") but
this does not directly allow DOM traversal itself. However, Jsoup conveniently provides DOM traversal for finding a https://jsoup.org/apidoc

Jeernej
Jeernej commented Aug 22, 2021

Hi!

My suggestion/request is simple. When filtering the data, sometimes one needs to use the edge values of the data distribution in the filter histogram.

For example, one wants to choose the data of an hourly distribution (from 0:00 to 24:00) for the time between 22:00 and 6:00 in the nighttime and discard the data from 6:00 till 22:00 during the daytime.

So, when filtering the data with

Open

Tests

leeoniya
leeoniya commented Dec 14, 2019

it's becoming more time-consuming and error-prone to manually re-test all the demos following internal refactorings and API adjustments.

now that the API is fleshed out a bit, it's possible to test a large amount of code (non-granularly) without having to simulate all interactions via Puppeteer or similar.

a lot of code can already be regression-tested by simply running all the demos and val

Created by Charles Joseph Minard

Wikipedia
Wikipedia