117 Commits

Author SHA1 Message Date
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
Florian Oswald
e3ce1ab1d1 just calling default(k) does not give back the default value for k 2017-05-17 15:40:47 +02:00
Florian Oswald
af56d6f265 added resetfontsizes() 2017-05-17 15:31:26 +02:00
David Sanders
10f214fbb4 Change typealias to const 2017-05-08 15:20:21 -05:00
Benoît Legat
f11828075b Fix #770 2017-04-13 22:20:03 +02:00
Andy Nowacki
5435ce20a9 Remove import of Base.scale(!); fixes #687
Base.scale and Base.scale! were deprecated in v0.5 and removed in
v0.6-pre.alpha.  Removing their import permits use on v0.6- and
is fine since we REQUIRE v0.5 and above.
2017-03-06 10:25:21 +00:00
Andy Nowacki
a087a6694b Use sans-serif as default font family (fix #593)
Rather than specifying a specific typeface, set the font
*family* in the `family` field of `Font` as `sans-serif`
by default.

Fixes #593.
2017-01-06 16:45:40 +00:00
Tom Breloff
da7e0cba3e deprecate curve_points and shape_coords and extend coords; move directed_curve/shorten_segment/random_control_point to PlotRecipes 2016-11-17 13:00:56 -05:00
Tom Breloff
000660b43a return font from EachAnn; several annotation fixes; tests fixes 2016-11-17 11:28:33 -05:00
Tom Breloff
fbeaa59f18 curve offset 2016-11-16 13:55:07 -05:00