cost 213 ms
为什么 plotly 不工作,它在一个回调中工作正常,但是当我添加第二个回调时,一切都崩溃了 - Why is plotly not working, it was working fine with one callback but when i added second callback everything crashed

代码使用一个回调 function,但是当我添加第二个回调(更改标题颜色功能)时,一切都停止工作,我得到一个空白 canvas。我希望能够看到条形图,以及实时可调整大小的图表(第一次回调)和手动调整标题颜色(第二个标题)请帮助,提前谢谢你::> 这是字典中的数据: ...

尝试运行 Jupyter-Dash 并出现“需要 integer”错误 - Trying to run Jupyter-Dash and getting "an integer is required" error

我正在尝试从https://dash.plotly.com/basic-callbacks获取第一个 Dash 示例,该示例在带有 Jupyter Dash 的 Jupyter Notebook 中运行,该应用程序作为独立应用程序运行良好,但在笔记本和我想不通。 我得到类型错误:需要 integer ...

使用 Jupyter Notebook 的 JupyterDash app.run_server 错误 - JupyterDash app.run_server error using Jupyter Notebook

我正在尝试使用 JupyterDash 制作图表,但首先...我无法通过 Jupyter Notebook 运行简单的 JupyterDash 测试,因为每次我收到相同的错误: 我的代码: 我尝试了许多不同的 app.run_serwer(....) 变体,但没有一个有效。 还尝试在 Jupyter ...

Python JupyterDash 无法访问回调修改对象 - Python JupyterDash unable to access callback modified objects

赏金将在 7 天后到期。 此问题的答案有资格获得+100声望赏金。 FBruzzesi希望引起对这个问题的更多关注。 假设我想在 jupyter 笔记本/实验室中从 python class 进行 Dash 应用程序调用,做一些事情并最终访问修改后的 object。 我没有完成最后一项任务,这里 ...

Plotly JupyterDash 在应用 categoryorder 排序以使用负值进行测量时不会删除不相关的列 - Plotly JupyterDash is not removing irrelevant columns when applying categoryorder sort to measure with a negative value

我正在尝试根据“销售”列中的值对图表的轴进行排序。 一旦我将 fig.update_layout(yaxis={'categoryorder':'total descending'}) 应用于我的图,当通过选择 RadioItems 回调选项的“099”值过滤 dataframe 时,图表不再删除不 ...

"如何使用 VSCode 调试 JupyterDash 应用程序?" - How to debug a JupyterDash app using VSCode?

这将是一个自我回答的帖子,但这仅意味着我已经有了<\/em>一个解决方案的想法,并且我非常渴望听到有关更有效和更稳定的方法来应对相关挑战。<\/em> 我想知道如何结合JupyterDash<\/code><\/a>和VSCode<\/code ...

在不杀死内核的情况下运行 jupyter-dash update - run jupyter-dash update without killing kernels

我正在使用 jupyter-dash 在 jupyter notebook 上开发一个破折号项目。 每次更新代码时,我都必须终止内核,然后重新启动 jupyter notebook 才能使更改后的代码正常工作。 否则破折号网页显示双重加载错误。 我想知道是否有一种方法可以在不重新启动内核的情况下刷 ...

连续色标图例不使用单选按钮选项更新 - Continuous color scale legend not updating with radio button options

我正在制作一个快速的热图视图,以帮助使用 jupyter-dash 和 plotly express 跟踪一些用户活动。 我的色阶图例不会更新,除非数据完全取消填充/重新填充(最小示例中不包含复选框组件)。 我已将其范围缩小到我使用的 radioitems 组件过滤。 我不清楚我是否遇到了 dash ...

Plotly-Dash:如何在 plotly 破折号中为 hover 函数编写交互式回调代码 - Plotly-Dash: How to code interactive callbacks for hover functions in plotly dash

是否可以在破折号图形的底部有一个文本字段,显示它们所在点的文本(将 hover 数据显示为纯文本)。 所以当用户 hover 超过某个点时,文本框将可以进行更改。 我已经定义了一个 dcc.Graph 组件和应用程序布局,但不确定如何为悬停数据定义回调 function。 我使用下面的代码来定义 d ...

Plotly-Dash:如何在回调之间显示图形的相同选定区域? - Plotly-Dash: How to show the same selected area of a figure between callbacks?

考虑一个绘图图,您可以在其中使用 JupyterDash 为线拟合选择多项式特征: 如果您选择一个区域,然后为多项式特征选择另一个数字,则该图是这样的: ......再次回到这个: 那么,如何进行设置,以便每次选择其他数量的特征并触发另一个回调时,图形都显示图形的相同区域? 完 ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM