126 Commits

Author SHA1 Message Date
Simon Christ
d1373d8b89
fix fontfamily (#3542)
* fix fontfamily

* Update test_defaults.jl
2021-06-04 15:36:40 +02:00
Simon Christ
ce530ef518
fix vector of shapes (#3517) 2021-05-20 20:42:31 +02:00
David Gustavsson
4731477920 Add annotation font defaults 2021-05-01 20:39:55 +02:00
David Gustavsson
a359f21325 Generalize Shape 2021-04-14 09:34:06 +02:00
yha
e9cd69ea2f Fix Shape vector recipe 2021-03-01 02:17:42 +02:00
Daniel Schwabeneder
5660ea9501 remove dependency on discontinued GeometryTypes 2020-10-27 11:19:50 +01:00
Simon Christ
842b8fa70d
add add_attributes macro (#3069)
* add add_attributes macro

* add underscore

* add non_underscore and plural aliases
2020-10-20 17:53:44 +02:00
Daniel Schwabeneder
51527705de extract gr_draw_<seriestype> functions 2020-09-18 09:43:53 +02:00
Simon Christ
bf85afe9d6
unite titlefonts (#2363)
* change default `plot_title`

* add fontkwargs for colorbar_title, plot_title and window_title

* add utility functions

* adjust default colorbar title fontsize

* remove window-title attributes and edit description

* add match_map entries

* remove plot_fontfamily add match for colorbar_fontfamily

* add process_any_label

* add tests

* add magic arguments

* adjust tests

* fix subplot args
2020-08-13 11:31:17 +02:00
isentropic
a992effa5e
scalefontsize fixed (#2765) 2020-06-09 08:37:39 +02:00
Daniel Schwabeneder
ba4f2665e0 fix range on julia 1.0 2020-04-24 21:21:23 +02:00
Daniel Schwabeneder
4c43f0ea2f be explicit about RecipesPipeline imports 2020-04-10 19:06:53 +02:00
Daniel Schwabeneder
f73b281996 extract the recipe pipeline into separate submodule 2020-04-10 16:09:49 +02:00
Daniel Schwabeneder
efdfec13ed
Merge pull request #2524 from daschw/surface-type-recipe
Apply type recipes also for plots with surfaces
2020-04-01 19:45:10 +02:00
Daniel Schwabeneder
e53f27c224 add axes function for surfaces 2020-04-01 12:54:40 +02:00
wfrgra
9029e37671 Turn TimeType annotation locations to float fix errors 2020-03-31 20:05:21 +11:00
O01eg
2ede388c15
Treat types without length as single element
Fixes #2350
Workaround for types like Dates.Date which can be used for coordinates
but doesn't have Base.length defined.
2020-01-20 13:49:10 +03: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
1ed9bcae5c small coords bug-fix 2019-08-28 18:43:01 +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
841b05631d replace StaticArrays with GeometryTypes 2019-04-07 16:20:15 +02:00
Samuel S. Watson
888ed9f0ae Support keyword arguments for font attributes 2019-01-16 13:04:31 -05:00
Samuel S. Watson
e6bb17dc86 document @shorthands functions 2019-01-08 17:55:52 -05:00
Michael Krabbe Borregaard
7acb5a4bdb allow annotations to take a tuple and pass it to text 2019-01-02 17:39:28 +01:00
Diego Javier Zea
af119a0248
It solves Shape bugs
unneeded get and missing undef
2018-10-30 15:15:03 +01:00
Daniel Schwabeneder
113e616d25 remove FixedSizeArrays 2018-10-23 17:53:25 +02:00
Michael Krabbe Borregaard
2844e706a9 warn -> @warn 2018-08-10 18:14:14 +01:00
Michael Krabbe Borregaard
5205ac38ad Implement new iterator protocol 2018-08-09 16:53:27 +01:00
femtocleaner[bot]
83686866cc Fix deprecations 2018-08-08 12:42:18 +00:00
Daniel Schwabeneder
a7f2484d45 fix some deprecation warnings 2018-07-04 20:56:13 +02:00
femtocleaner[bot]
d68829820b Fix deprecations 2018-06-30 23:15:27 +00:00
Daniel Schwabeneder
6135f6271c julia 0.7 fixes 2018-07-01 21:40:48 +02:00
Andrew Palugniok
d79c66e5b6 Add position aliases. 2018-01-14 11:46:41 +00:00
Andrew Palugniok
10a8520805 Add subplot labeling via annotations. 2018-01-14 11:46:41 +00:00
Will Kearney
bd42d9e7cc Use the :fontsize labels so the scalefontsizes command works
Fixes #1294
2017-12-07 20:56:54 -05:00
femtocleaner[bot]
ef29b4a5b0 Fix deprecations 2017-10-17 09:59:09 +00:00
Michael K. Borregaard
db82f22320 add the last docstrings 2017-08-18 09:48:36 +02:00
Michael K. Borregaard
66ce38d948 Specified some docstrings 2017-08-18 09:48:36 +02:00
Michael Krabbe Borregaard
cadb0f96e2 Merge pull request #837 from floswald/reset
resetfontsizes: fixes #836
2017-06-12 13:31:55 +02:00
florian oswald
d3b825b49f fix docstrings. provide 2 methods scalefontsizes now, with and without an argument. no argument version resets to initial values, with argument you rescale the current sizes. 2017-06-12 12:29:19 +02:00
ChrisRackauckas
44b6157f17 cycle => _cycle 2017-06-09 08:43:01 -07:00
Michael K. Borregaard
8f6b0c50d6 ignoreNaN => ignorenan 2017-06-08 12:54:25 +02:00
Michael K. Borregaard
f097fb57b5 Fix some deprecation warnings 2017-06-07 23:55:30 +02:00
Michael K. Borregaard
80d0d6ecc8 Change NaNMath implementation
We needed some functions to forward to Base methods, e.g. when non-`AbstractArray{<:AbstractFloat}` was passed
2017-06-01 22:19:38 +02:00
Michael Krabbe Borregaard
d29df4289e RFC: Ignore NaNs on 0.6 (like on 0.5): fixes #796 (#876)
Replaces min, max, minimum, mean, maximum and extrema with NaNMath versions in places where NaNs can occur.

To avoid returning NaN when there are NaNs in the Vector

* Also add maximum and minimum

* define _-prefaced versions of mean, maximum, minimum, extrema

* variable arg numbers for Base methods

* Different implementation of the override

* remove underscore from 2-arg versions of maximum

* some forgotten extrema -> _extrema

* Fix bug in _extrema definition

* edit comment

* replace min and max with _min and _max

* Base NaN-compliant functions on NaNMath


replace _min and _max with NaNMath versions

* Use NaNMath explicitly everywhere

* remove unneccesary NaNMath calls

* Ensure ceil does not error on NaN

* Added one more maximum in gr
2017-06-01 19:17:28 +02:00
florian oswald
6cca763284 removed test for k 2017-05-17 21:07:54 +02:00
Florian Oswald
915c41c9d9 addressed changes requested 2017-05-17 17:48:03 +02:00
Florian Oswald
9c2c548874 create dict _initial_fontsizes and copy from that. creates new method scalefontsizes() [no keyword] 2017-05-17 17:10:21 +02:00
Florian Oswald
fdf699bf35 added const copies of _all_defaults and _axis_defaults to be able to reset fonts to initial values with new resetfontsizes method 2017-05-17 16:34:03 +02:00