如何使用 holoviews 或 hvplot 更改字体大小?
这是我拥有的情节的一个简单示例:
# import libraries
import numpy as np
import pandas as pd
import holoviews as hv
import hvplot.pandas
hv.extension('bokeh', logo=False)
# create sample dataframe
df = pd.DataFrame({
'col1': np.random.normal(size=30),
'col2': np.random.normal(size=30),
})
# plot data with holoviews
my_plot = hv.Scatter(df, label='Scattering around')