Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

調査|plotlyの画像保存がうまくいかない #30

Closed
duri0214 opened this issue Jun 25, 2022 · 4 comments
Closed

調査|plotlyの画像保存がうまくいかない #30

duri0214 opened this issue Jun 25, 2022 · 4 comments
Assignees

Comments

@duri0214
Copy link
Collaborator

duri0214 commented Jun 25, 2022

data_prepro_temp1 ブランチの data_processing/tekusei_stats_cal.py 内において、 write_image がフリーズするため調査

https://github.com/yoshiyukiminami/python/blob/data_prepro_temp1/data_processing/tekusei_stats_cal.py#L184

@duri0214 duri0214 self-assigned this Jun 25, 2022
@duri0214
Copy link
Collaborator Author

@yoshiyukiminami 読み込むCSVがないっぽいので、ダミーデータでグラフを作って write_image が通るかってとこだけとりあえず見ますね

@duri0214
Copy link
Collaborator Author

image
シンプルなサンプルだとすんなり保存できるので、ライブラリの問題というよりはCSVからグラフを作る間になにか原因がありそう

@duri0214
Copy link
Collaborator Author

duri0214 commented Jul 16, 2022

plotly/Kaleido#80

@yoshiyukiminami このログだしやってみましょう。まともなの出てこなかったらライブラリの変更も視野にいれましょう(やっぱり僕の環境だと動くし、そもそも拡大縮小が必要なのか?という点も含めて)
plotly/Kaleido#36 (comment)

import plotly.io as pio
scope = pio.kaleido.scope
print(scope._std_error.getvalue().decode())

@yoshiyukiminami
Copy link
Owner

ライブラリーを変更して解決

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants