pfitzseb / ProfileCanvas.jl

MIT License
88 stars 6 forks source link

How to open in Firefox instead of in Chromium, or export into a user-provided file path? #35

Open nsajko opened 6 months ago

nsajko commented 6 months ago

When I do @profview f(), I get a nice visualization in a newly-opened Chromium window.

  1. How to get the visualization in Firefox instead of in Chromium?

  2. How to export the visualization into some path on the file system?

pfitzseb commented 6 months ago
  1. Set your default browser to Firefox
  2. There's the semi-official ProfileCanvas.html_file(filename) for that (you can also use this to open whatever browser you want afterwards: run(`firefox $filename`))