Skip to content

Instantly share code, notes, and snippets.

@joaopalmeiro
Last active May 19, 2022 16:15
Show Gist options
  • Select an option

  • Save joaopalmeiro/146fcafb1e4e916b8cdf6820128f996e to your computer and use it in GitHub Desktop.

Select an option

Save joaopalmeiro/146fcafb1e4e916b8cdf6820128f996e to your computer and use it in GitHub Desktop.
Altair theme example
def y_axis():
return {
"config": {
"axisY": {
"domain": False,
"tickSize": 10,
"gridDash": [2, 4]
},
"view": {
"stroke": "transparent",
# To keep the same height and width as the default theme:
"continuousHeight": 300,
"continuousWidth": 400,
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment