JuliaPlots / PlotlyJS.jl

Julia library for plotting with plotly.js
Other
418 stars 77 forks source link

PlotlyJS: Electron Window not reactive #389

Closed VivaldoMendes closed 3 years ago

VivaldoMendes commented 3 years ago

Hi,

I have installed the same small environment on two different computers. In one computer, everything works immaculately. On the other, I have a problem with the Electron window: it displays the plots; however, it does not respond to the resizing of the window (the plot contents do not follow the resize of the window). Please find the example below:

a

I have already tried everything that came to my mind: build Blink, and in both computers, the commands:

using Blink
Blink.AtomShell.install()

do not seem to work anymore. But this does not seem to be the problem as the Electron window works perfectly well on one computer.

I have the following packages on both environments:

(macro0271) pkg> st
     Project macro0271 v0.1.0
      Status `C:\Users\migue\macro0271\Project.toml`
  [ad839575] Blink v0.12.5
  [336ed68f] CSV v0.8.5
  [c3611d14] ColorVectorSpace v0.9.5
  [a93c6f00] DataFrames v1.2.0
  [31c24e10] Distributions v0.25.8
  [5789e2e9] FileIO v1.10.1
  [ac1192a8] HypertextLiteral v0.8.0
  [82e4d734] ImageIO v0.5.6
  [02fcd773] ImageTransformations v0.8.12
  [916415d5] Images v0.24.1
  [b964fa9f] LaTeXStrings v1.2.1
  [5be0b35e] MonthlyDates v1.0.0
  [2bd173c7] NodeJS v1.3.0
  [a03496cd] PlotlyBase v0.6.3
  [f0f68f2c] PlotlyJS v0.16.1
  [91a5bcdd] Plots v1.16.8
  [c3e4b0f8] Pluto v0.14.8
  [7f904dfe] PlutoUI v0.7.9
  [2913bbd2] StatsBase v0.33.8
  [f3b207a7] StatsPlots v0.14.23
  [0f1e0344] WebIO v0.8.15
  [ade2ca70] Dates
  [b77e0a4c] InteractiveUtils
  [37e2e46d] LinearAlgebra
  [9a3f8284] Random
  [2f01184e] SparseArrays
  [10745b16] Statistics

Help will be very much appreciated. The computer with the problem is the one I am going to use for teaching. Thanks.

Edit: Forgot to mention, both computers are on Windows 10.

VivaldoMendes commented 3 years ago

Problem solved. I re-installed all my Julia installation in the annoying computer. The Electron window is working properly now.