How to make a zoomed inset with plotly? - plotly-python

Basically, how to do the following with plotly, in Python 3?

Related

Matplotlib Create Animation From Array of Frames

I am currently working in Jupyter Notebooks and I have an array of matplotlib scatter plots that I would like to animate and create a gif or video of.
Is this possible? Or would I need to save each of the 16+ plots as images and work from there?
Thank you!

Update and Display a Coordinate Axis being Rotating and Translated in Real Time in Matplotlib?

I'm currently trying to recreate this: video, and I could not find how to recreate the 3D visualization step, where coordinate axis are translated and rotated around, in matplotlib. Does anyone know how to do in matplotlib's animation, updating the results in real time?

Render horizon silhouette using Metal in SceneKit

I'm working on simple side project and small part of it is rendering a terrain. I'm rendering the terrain using height map information. But here is my problem:
I would like to render just a silhouette/outline of the terrain/horizon. Here is screenshot from my app rendering height map:
And here is screenshot similar to desired result from peakfinder.org:
I would like to draw just lines representing silhouette of terrain with the rest transparent or solid colour. How can I solve it? Calculate local maximum somehow?
I created sample project here, in case you want to help me.
Thanks!

Removing background on a 3d plot Julia

I am having some real trouble trying to plot nice things with Julia.
I first used PyPlot which I was happy with but I had to be able to change the angle on a 3D plots (in that case using surface) so I now use Plots directly with the camera speficication. I would like to remove the background on a 3D plot.
using PyPlot, the following command :
ax=gca(); ax:set_axis_off
works fine.
When using Plots, I tried the following :
using Plots; pyplot(grid=false)
and then my code for the surface, and it does not change the output.
I also tried the first example on this page :https://github.com/JuliaPlots/Plots.jl/pull/695 and grid specification does not work (grids are the same on every area of the layout).
I tried after updating every package and it still does not work.
Does anyone have an idea about what would the problem be please?
Thank you in advance !

Plotting a camera frustum in matplotlib 3D?

I am trying to reproduce the following image with my own data. However, I’m not sure how to create the red camera icon and the corresponding blue axis lines protruding from it.
http://mesh.brown.edu/3DP-2016/hw2/calib-extrinsics.png