3490 Commits

Author SHA1 Message Date
Simon Christ
f78899a1ef
return plot object 2021-07-01 18:28:50 +02:00
t-bltg
e42b4ad34d GR: surface, add the possibility to override the hardcoded nx and ny in GR.gridit(...) 2021-07-01 16:54:07 +02:00
t-bltg
a7c629f775 GR: expose surface(...) display options 2021-07-01 15:08:36 +02:00
t-bltg
1ddc673201 GR: 3D, warn on invalid rotation or tilt 2021-07-01 14:02:30 +02:00
t-bltg
bba971f7ea
GR: fix axis flip / mirror in 3D plots (#3584)
* fix axis flip in 3D plots

* add mwe as example - fix needs_3d_axes

* fix major / minor grids when mirroring

Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-06-30 22:50:09 +02:00
t-bltg
a64ae3d13c
GR: fix alignment of ticks label when rotating (#3587)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-06-30 09:30:55 +02:00
t-bltg
7b0066c433
simplify major / minor grid segments (#3586)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-06-25 21:10:35 +02:00
t-bltg
50f63cf1eb
Ignore :blank plots (#3585) 2021-06-25 15:40:49 +02:00
Simon Christ
2b22dae757
Handle matrices of annotations and copy for plot(plots) (#3572)
* add tests for series_annotations in layouts

* add methods for matrices of annotations

* defensive copy on plot(plots)

* seperate in plot(plots) and plot!(plots)
2021-06-17 09:29:39 +02:00
Simon Christ
7ca32b5edd
show ekwargs on show (#3567) 2021-06-12 09:38:10 +02:00
Simon Christ
990e0f3f7f
Better twinx (#3564)
* improve twinx

* add tests, disable gridlines of twinx
2021-06-10 15:00:19 +02:00
Simon Christ
849d31d57f markers -> mark for older pgfplots version 2021-06-09 16:54:55 +02:00
Simon Christ
be1c263df9
no markers on fillranges (#3563) 2021-06-09 15:53:52 +02:00
Fons van der Plas
203af856cd
embeddable_html (#3559) 2021-06-09 09:01:40 +02:00
Fred Callaway
019a742c84
Respect :widen when passing :lims (#3552)
* Respect :widen when passing :lims

Previously, the limits were not widened when passing a tuple or
:round to lims (ignoring the widen argument). Fixes #3339

* Add default widen=:auto, which matches default before 43e9a342

* If widen is a Bool, it always determines whether widening occurs.
* If widen is :auto (the defualt), widening occurs for appropriate
  seriestypes, unless lims were set manually

* Update test/test_axes.jl

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

* fix docs for lims and widen interaction

* Update .zenodo.json

* Update test/test_axes.jl

xlims != ylims

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

Co-authored-by: Simon Christ <SimonChrist@gmx.de>
2021-06-07 20:46:49 +02:00
Simon Christ
fcdb3c1c0d
remove markers from fillranges (#3553) 2021-06-07 18:29:36 +02:00
Simon Christ
cc290818d7
fix setting marker = :none without seriestype (#3550) 2021-06-07 15:55:43 +02:00
Simon Christ
14b3852060
add :symmetric docs 2021-06-04 22:09:51 +02:00
Simon Christ
d51059f0e9
set projection for 3dquivers (#3544)
* set projection for 3dquivers

* fix test
2021-06-04 17:08:33 +02:00
Simon Christ
d1373d8b89
fix fontfamily (#3542)
* fix fontfamily

* Update test_defaults.jl
2021-06-04 15:36:40 +02:00
t-bltg
601df0c9a9
GR: allow explicit guidefontrotation (#3529)
Co-authored-by: t-bltg <t-bltg@users.noreply.github.com>
2021-06-03 19:00:06 +02:00
Simon Christ
6a62d96751
axis limits = :symmetric (#2600)
* allow axis-lims = :symmetric

* remove show

* add test
2021-06-03 17:35:42 +02:00
Simon Christ
5fafddb995
fix fontrotation being interpreted as fontsize (#3533)
* fix convenience font functions

* correct size argument
2021-06-02 22:12:30 +02:00
Simon Christ
ce530ef518
fix vector of shapes (#3517) 2021-05-20 20:42:31 +02:00
BerndR
827462dc21
NaN checking in backends/gr.jl (#3514)
* Updated .zenodo.json infos

* resolved NaN-checking
2021-05-19 20:33:33 +02:00
Fons van der Plas
c0e50588d3
Minor cleanup plotlyjs (#3510) 2021-05-19 08:28:03 +02:00
Simon Christ
de7717b85f
Fix too many legend entries (#3511)
* add test

* fix legend entries
2021-05-19 08:27:41 +02:00
Simon Christ
15bd9c537d
Create docs on pushing to master (#3494)
* Create docs.yml

* Update docs.yml

* Update docs.yml

* Create docs.yml

* Update docs.yml

* [skip ci]

* [skip ci]

* [skip ci]

* [skip ci]

* Update docs.yml

* Update docs.yml

* Update docs.yml

* Update docs.yml

* fix pgfplotsx

* fix pyplot

* remove push workflow (should work without)

* conditionally fix pyplot

* change env-vars

* fix

* fix ref

* clean up and cache artifacts

* add Documenter_key to environment

* fix parentheses

* "one last fix"

* dev => add

* fix marker example

* exclude 50 for plotly

* install ms fonts

* only trigger on master

* remove REF pretending
2021-05-14 22:00:09 +02:00
Mosè Giordano
788e28d18a Allow while-block in at-animate macro 2021-05-13 10:14:03 +01:00
Asim H Dar
d544647b1b
Update plotly.jl (#3491)
Tiny typo
2021-05-12 18:36:14 +02:00
Simon Christ
3cb81d6d04
fix alpha for surface (#3489) 2021-05-12 18:35:19 +02:00
Yuval
61f2d825b6
Merge pull request #3468 from yha/several-nans-fix
Fix for plotting a vector of (at least two) NaNs
2021-05-11 17:56:33 +03:00
Daniel Schwabeneder
5df64bd45b
Merge pull request #3463 from gustaphe/fontdefaults
Add annotation font defaults/settings
2021-05-11 01:03:09 +02:00
Simon Christ
35658bf4fe fix tests 2021-05-07 08:14:37 +02:00
Simon Christ
f355ff9904 clean up pgfx-legends duplications 2021-05-06 21:27:24 +02:00
Simon Christ
78f7db138f
add legend stylings (#3470)
* add legend stylings

* fix center and default case
2021-05-04 20:54:11 +02:00
yha
23567964e7 undo accidental change 2021-05-03 19:45:48 +03:00
yha
0c7f7ba011 Fix for plotting a vector of (at least two) NaNs 2021-05-03 19:44:11 +03:00
David Gustavsson
4731477920 Add annotation font defaults 2021-05-01 20:39:55 +02:00
Daniel Schwabeneder
5a4651a0ec clean changes in recipes.jl 2021-04-28 20:35:00 +02:00
Daniel Schwabeneder
7bb2132b18 add tick_direction=:none option to hide tick labels 2021-04-28 20:27:50 +02:00
Daniel Schwabeneder
fd50469e20
Merge pull request #3430 from ma-laforge/idr_layout
Update plot areas for the given font sizes.
2021-04-28 18:42:14 +02:00
Daniel Schwabeneder
e3d13aa17a
Merge pull request #3436 from gustaphe/master
Generalize Shape
2021-04-28 18:40:57 +02:00
Yuval
c986bfa1e6
Merge pull request #3443 from yha/plotly-shapes-fix
Fix shapes series on plotly
2021-04-27 13:05:32 +03:00
Simon Christ
02437562a7
colorbar improvements for pgfplotsx (#3441)
* incorporate colorbar ticks and ticklabel styles

* fix colorbar showing
2021-04-27 09:50:49 +02:00
Benoit Pasquier
8cf268a390
Add ticks getter functions (#3435)
* Add ticks getter functions

* Add tick-getter functions for Plot objects

* Fix boiler-plate code in get_ticks

* Bump minor version + add tests

* Remove kwargs and add subplot test

* Add docstrings

* bump minor version
2021-04-23 08:52:17 +02:00
yha
e449d3221c Fix shapes series on plotly 2021-04-18 13:41:10 +03:00
David Gustavsson
a359f21325 Generalize Shape 2021-04-14 09:34:06 +02:00
MA Laforge
9da550ba3b Update plot areas for the given font sizes.
Also:
Layout changes are made to defaults instead of user-overwrites.
2021-04-10 14:57:39 -04:00
matthieugomez
67f4d79c4a simpler formula for yhat 2021-04-08 10:11:09 -07:00