3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

plotly に imshow が実装されたので早速触ってみた

Last updated at Posted at 2019-11-08

概要

plotlyimshowが実装され、画像をプロットできるようになったので早速触ってみた

imshowのベースになっているplotly.jsの Pull Request
https://github.com/plotly/plotly.js/pull/4289

コード

import plotly.express as px
import numpy as np
from PIL import Image

img = np.asarray(Image.open('dog.jpg'))
px.imshow(img)

Jupyter 上でプロット

plotlyに備わっているインタラクティブな機能が画像に対して使える

demo.gif

気になった点

  • ズームした際の遅延
3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?