如何在Jupyterlab中居中对齐Altair图表,使其在导出的HTML中保持居中? 以下代码使notebook中的绘图居中;但是,当我将notebook导出为HTML时,输出为空/空白。import altair as altfrom IPython.core.display import display, HTML
df=pd.DataFramestyle="display:flex;justify-
因此,在引用内容div中,我希望将文本居中,同时使其保持左对齐。还有引用标题div...这是我的html代码:预先感谢codepen项目 /*getting random quote on buttonconsole.log(json[0].title) $("#quote-content").html(json[