element_blank#

element_blank() dict#

Theme element that draws nothing and allocates no space for non-data components of the plot.

Returns:
dict

Theme element specification.

Examples

1import numpy as np
2from lets_plot import *
3LetsPlot.setup_html()
4np.random.seed(42)
5data = {'x': np.random.normal(size=1000)}
6ggplot(data, aes(x='x')) + geom_histogram() + \
7    theme(axis_title_x=element_blank(), axis_ticks=element_blank())