小编bor*_*nax的帖子

构建 docker 映像时出错“执行程序运行失败 [/bin/sh -c apt-get -y update]”

我正在尝试构建一个 docker 映像,但它抛出一个错误,我似乎不明白为什么。

它卡RUN apt-get -y update在以下错误消息中:

4.436 E: Release file for http://security.debian.org/debian-security/dists/buster/updates/InRelease is not valid yet (invalid for another 2d 16h 26min 22s). Updates for this repository will not be applied.

4.436 E: Release file for http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 3d 10h 28min 24s). Updates for this repository will not be applied.

executor failed running [/bin/sh -c apt-get -y update]: exit code: 100
Run Code Online (Sandbox Code Playgroud)

这是我的泊坞窗文件:

FROM python:3.7

# Adding trusting keys to apt for …
Run Code Online (Sandbox Code Playgroud)

python docker

29
推荐指数
3
解决办法
12万
查看次数

在 Bokeh 中隐藏图例旁边的注释

我有一个交互式散景图,单击图例时可以隐藏某些圆形图。现在,当我通过单击来禁用绘图时,绘制的圆圈会消失,但注释仍然存在。有人可以向我解释一下如何将它们全部打开/关闭吗?或者有人有快速解决办法吗?

和

这是关闭时的图片:

没有

我使用以下代码绘制圆圈+图例:

q.circle('lng', 'lat', source = source2, name='vri', color='red', size=5, hover_line_color="black", legend_label = 'VRI')

vri_labels = LabelSet(x='lng', y='lat', text='kruispuntn', x_offset=5, y_offset=5, source=source2, text_font_size = '10pt')

q.legend.location = "bottom_left"
q.legend.click_policy="hide"

q.add_layout(vri_labels)

show(q)
Run Code Online (Sandbox Code Playgroud)

python plot pandas bokeh

2
推荐指数
1
解决办法
757
查看次数

标签 统计

python ×2

bokeh ×1

docker ×1

pandas ×1

plot ×1