I'm trying to develop some graphs using bqplot in Python but I'm having some questions regarding the documentation and where I can find the appropriate options to personalize a graph. 我正在尝试制作箱线图并更改axes_options,但我在任何地方都找不到'axes_options'参数的可能选项。
这是我要更改的箱线图的玩具示例:
import bqplot.pyplot as plt
x = [1]
y = [[7,9,7,6,4,3,2,5,6,7,1,2,3,1,4.4,7.7]]
fig = plt.figure()
# add x and y labels using axes_options
axes_options = {'x': {'label': 'X'}, 'y': {'label': 'Variable Value'}}
boxes = plt.boxplot(x, y, box_fill_color='gray', outlier_fill_color='black', axes_options=axes_options)
fig
例如,如何更改 axes_options 字典中的轴限制?我怎样才能找到可用的选项?