278 Commits

Author SHA1 Message Date
David MacMahon
c2cb60ff12 Make Plots backends aware of new :stepmid option 2021-03-24 23:25:57 -07:00
Daniel Schwabeneder
6201dfe580
Merge pull request #3324 from gustaphe/legendangle
[WIP] position legend at angle
2021-03-06 12:37:35 +01:00
David Gustavsson
1d3e0a5d5d Better legend anchor algorithm 2021-03-02 08:02:39 +01:00
David Gustavsson
6724a3a2fe Centralize utility functions, add legend-angle to plotly, pgfplotsx 2021-02-28 23:40:06 +01:00
yha
42b3c5625f Fix for "segmented" attributes with NaNs 2021-02-25 02:33:11 +02:00
Jks Liu
50a6dd9fb3 let plotly config and use in same cell in case of config cell re-run or is deleted 2021-01-20 22:51:17 +08:00
Jks Liu
509a8cdc7e Config plotly.js during init
plotly.js will be loaded only once, only when first time used

plots show correctly when page re-load or re-open
2021-01-18 22:59:16 +08:00
Jks Liu
4bcafe3f51 const variable for plotly JavaScript file name 2021-01-12 22:09:48 +08:00
Daniel Schwabeneder
d9c2b7bf37 change to plotly v1.57.1 2020-10-31 22:49:37 +01:00
Daniel Schwabeneder
e7c7daff0c use plotly-latest 2020-10-31 13:37:11 +01:00
Daniel Schwabeneder
6286c67c01 add legendtitle to plotly 2020-10-31 13:27:19 +01:00
Benjamin Lungwitz
70c4954e16
fixed concatinations of string and nothing (#3087) 2020-10-21 13:18:51 +02:00
Daniel Schwabeneder
9cf9edffe0 remove transpose_z 2020-10-12 01:10:56 +02:00
Daniel Schwabeneder
4c7156ca5e fix plotly not showing the second marker 2020-10-06 10:28:08 +02:00
Daniel Schwabeneder
a13e137770 !== nothing 2020-10-04 16:10:41 +02:00
Daniel Schwabeneder
8255096bce fix multiple subplots with 3d in plotly 2020-10-03 12:51:34 +02:00
Simon Christ
efb5816bc1
replace build.jl by Artifacts.toml (#3023)
* replace build.jl by Artifacts.toml

* check ENV

* fix it
2020-10-02 22:10:53 +02:00
bernd_uni
75e65bff8c Fixed plotly_colorbar_hack() to avoid additional marker 2020-09-30 11:19:49 +02:00
Daniel Schwabeneder
3964cc19a6 fix ribbon/fillrange with OffsetArrays in plotly 2020-09-21 22:15:47 +02:00
Daniel Schwabeneder
0b91d51a40 fix marker shapes with segments on gr, pyplot and plotly 2020-08-31 18:55:17 +02:00
yha
bd7f0dc8d4 Merge branch 'tick-format' of https://github.com/yha/Plots.jl into tick-format 2020-08-22 21:26:35 +03:00
yha
449d35ebf2 Tick label formatting fixes 2020-08-22 21:26:35 +03:00
Adrian Dawid
e2c387894f
Add :mesh3d series type for Plotly (#2909)
* Add :mesh3d seriestype (in theory)

* Make it work in practice

* Clean up code

* Add support for arbitrary 3d mesh

* Add fallback for other backends

* Add shorthand

* Change i,j,k to series keyword

* Small bugfix

* Update shorthands example

* Add mesh3d example

* Add some documentation to example

* Make color work

* Move mesh3d example and add to skip list

* Update fallback recipie

* Update example

* Update src/args.jl

Co-authored-by: Simon Christ <SimonChrist@gmx.de>

* Update src/backends/plotly.jl

Co-authored-by: Simon Christ <SimonChrist@gmx.de>

* Update src/examples.jl

Co-authored-by: Simon Christ <SimonChrist@gmx.de>

* Cosmetic changes

Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2020-08-14 14:26:16 +02:00
Rashika Karki
47590b2538
Fix position of legend (#2806)
* Fix position of legend

* Fix var name
2020-06-23 10:59:27 +09:00
Rashika
d1b2c7f751 Add outer legend for Plotly 2020-06-22 09:39:24 +05:45
Fons van der Plas
fb40ed1f59
Plotly fixed version (#2779)
* Fixed version for plotly.js dependency

* Fixed version for plotly.js dependency - .gitignore update
2020-06-17 11:17:37 +02:00
Zhanibek
e2a5e40019 plotly legend fixes 2020-06-03 16:08:53 +09:00
hhaensel
1e9691a7c0
Add support for mathjax (latex) and extra_plot_kwargs in plotly backend (#2719)
* support mathjax header in plotly backend

* support extra_plot_kwargs in plotly backend

* correct local file parameter to `file:///`

* corrections proposed by @BeastyBlacksmith

* include extra_kwargs for subplots

* don't merge subplot extra_kwargs

Co-authored-by: Helmut Haensel <M136270@eu.merckgroup.com>
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2020-05-21 12:32:25 +02:00
Daniel Schwabeneder
8b897c3460 implement pie series recipe 2020-04-28 20:48:09 +02:00
Daniel Schwabeneder
275738e7ea remove const in plotly 2020-04-26 20:15:14 +02:00
Daniel Schwabeneder
265439fb2b update colorschemes integration 2020-04-24 21:20:07 +02:00
Daniel Schwabeneder
becfa33ee8 pyplot and plotly integration of ColorPalettes 2020-04-24 21:20:07 +02:00
Daniel Schwabeneder
ec5fa44f2a fix plotly ColorSchemes integration 2020-04-24 21:20:07 +02:00
Goran Nakerst
5d37264487 changed title_location -> titlelocation 2020-04-23 13:48:42 +01:00
Daniel Schwabeneder
d942660f91 fix scale_func for plotly 2020-04-11 17:01:23 +02:00
Daniel Schwabeneder
4c43f0ea2f be explicit about RecipesPipeline imports 2020-04-10 19:06:53 +02:00
Daniel Schwabeneder
345f5654a3 use equal aspect ratio by default for images 2020-03-01 01:37:34 +01:00
Daniel Schwabeneder
fc40b0e0ac fix plotly hover in test image 6 2020-02-07 23:12:34 +01:00
Daniel Schwabeneder
b5f54afed2
Merge pull request #2378 from daschw/plotly-hover
show datapoints on hover by default for plotly
2020-02-05 14:22:40 +01:00
Sebastian Pfitzner
4a7ea82862 only show plotly plots as html in Juno 2020-02-05 11:49:54 +01:00
Daniel Schwabeneder
c62714d188 show datapoints on hover by default for plotly 2020-02-03 14:27:01 +01:00
Michael Kraus
cde041e977 update SegmentsIterator to allow for generalized arrays 2019-12-05 14:09:05 +01:00
Michael Kraus
044daf08d4 generalized array fixes replacing length() and size() with eachindex() and axes(), etc. 2019-12-05 10:09:07 +01:00
Daniel Schwabeneder
7e05bb0aca try to import ORCA on plotly initialization 2019-11-30 10:45:24 +01:00
Daniel Schwabeneder
b58c52f12c per series clims for plotly 2019-10-28 18:54:01 +01:00
Daniel Schwabeneder
d0c6f0d6ee expand data of shapes only for plotly(js) 2019-09-09 13:17:34 +02:00
Daniel Schwabeneder
150b5a1f06 fix vline for pgfplots 2019-09-09 13:13:17 +02:00
Chris Rackauckas
82dd5bf3eb != nothing -> !== nothing 2019-08-17 14:45:54 -04:00
Chris Rackauckas
f12f6db310 use === nothing
Should decrease compile times
2019-08-17 14:17:27 -04:00
Daniel Schwabeneder
3e1258aa0c
Merge pull request #2132 from daschw/plotly-animation
Fix Plotly plots with one-element series (fix #2014)
2019-08-08 17:12:16 +02:00