python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Altair: formatting tooltip ordinal datetime
The output of my live tooltip example is:
Where the x-axis is formatted at ordinal dates; but the chart is also run through Streamlit, which appears to produce timestamps in milliseconds from the epo...
smgeneralist
Votes: 0
Answers: 1
altair python package gives "Illegal instruction" on Raspberry PI
In my RaspberryPI ZERO W I got strange error when trying to import altair module in python script.
pi@raspberrypi:~ $ python3
Python 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0] on linux
Type &...
Ján Strompl
Votes: 0
Answers: 1
Altair tooltip with local PIL image
Following the official example from the docs I can successfully create an altair scatter plot with each point having a tooltip:
import altair as alt
import pandas as pd
source = pd.DataFrame.from_rec...
v.tralala
Votes: 0
Answers: 1
Extra tick not showing in the Altair bar chart
So I started with Altair, so far very intuitive, but I can't make an extra tick position to show, no matter what I do.
My code looks like this:
alt.Chart(df3).mark_bar(opacity=0.8).encode(
x=alt.X...
botafogo
Votes: 0
Answers: 1