492 Commits

Author SHA1 Message Date
Daniel Schwabeneder
456b8258c3 add zerolines framestyle 2017-09-02 02:35:26 +02:00
Josef Heinen
4320c7b9fb gr: suppress default output in Juno 2017-09-01 07:40:39 +02:00
Daniel Schwabeneder
5e968e0aa8 ticks to axes 2017-08-30 22:19:13 +02:00
Josef Heinen
8beee23e21 gr: suppress default output in CI or Jupyter mode
_update_min_padding() is called before the backend is "started".
In GR, this triggers an automatic initialization and starts the
default output driver (X11, Quartz or GDI). This doesn't make
sense in headless testing environments (CI) or when using Plots
in Jupyter notebooks.

These patches correct this behavour - but it's unclear (to me),
why the call of _update_min_padding() can't be postponed.
2017-08-30 09:59:23 +02:00
piever
3d0d52f82a Merge pull request #1043 from piever/grfixes
readd fill for cross and xcross on GR
2017-08-26 16:35:50 +01:00
Josef Heinen
a5751895f0 gr: update padding constraints before first plot 2017-08-26 06:49:00 -04:00
Josef Heinen
78b0918216 gr: defer the calculation of padding constraints 2017-08-25 13:54:56 -04:00
Pietro Vertechi
509f8f6a95 readd fill for cross and xcross on GR 2017-08-25 16:46:07 +01:00
Josef Heinen
dbbbeddad0 gr: always use NDCs when inquiring text extents 2017-08-24 22:32:05 -04:00
Josef Heinen
c0f274d54b gr: always use NDCs when inquiring text extents 2017-08-24 22:27:04 -04:00
Daniel Schwabeneder
56bda82529 Merge pull request #1029 from daschw/ds-axes-border
Allow turning on/off the axes border (fix #1025)
2017-08-24 22:38:01 +02:00
Daniel Schwabeneder
d301d2a06b fix ticks = nothing on pyplot, ... 2017-08-24 16:58:43 +02:00
Daniel Schwabeneder
5a2d39320f framestyle attribute for gr, pyplot and glvisualize 2017-08-24 16:13:01 +02:00
Pietro Vertechi
91158b1c20 add proper pad for ticks 2017-08-23 18:19:36 +01:00
Pietro Vertechi
06115f25ba factorize tickfont 2017-08-23 17:45:23 +01:00
Pietro Vertechi
b3b533db94 fix margin in case there is no label (gr) 2017-08-23 14:10:35 +01:00
Pietro Vertechi
e16125cb50 some GR margin fixes 2017-08-23 13:49:33 +01:00
Pietro Vertechi
f751b1b7ff don't draw fill for 1D markers in gr 2017-08-23 08:40:19 +01:00
Daniel Schwabeneder
be4a374122 allow turning on/off the axes border 2017-08-20 21:55:21 +02:00
Pietro Vertechi
e164ea4b46 added default transparency to ribbon 2017-08-20 14:06:15 +01:00
Daniel Schwabeneder
130eb778d3 Merge pull request #1006 from daschw/ds-grid-axis
grid should be axis attribute (fix #675)
2017-08-17 23:57:59 +02:00
Daniel Schwabeneder
8288e85c25 only flip colorbar for marker_z 2017-08-16 22:32:00 +02:00
Daniel Schwabeneder
e0c679f5ee magic grid argument 2017-08-16 17:45:32 +02:00
Daniel Schwabeneder
2dd99d053a make it work on all backends 2017-08-10 20:49:03 +02:00
Daniel Schwabeneder
c60d66d94a make it work for gr, pyplot and plotly(js) 2017-08-10 17:46:11 +02:00
Josef Heinen
d90b2e6142 gr: use correct gradient labels for scatter plot 2017-08-10 09:31:54 +02:00
Josef Heinen
a937fa0ef8 gr: no longer handle '_' and '^' in text 2017-08-09 10:46:23 +02:00
Josef Heinen
50ec31a7a3 gr: improved calculation of bottom margin 2017-07-28 12:17:47 +02:00
Josef Heinen
00e05efd7c gr: fixed padding for guides 2017-07-26 09:44:34 +02:00
Daniel Schwabeneder
9c8e879465 Merge pull request #976 from daschw/ds-gr-legend
Line legend marker for ribbons in GR (fix #896)
2017-07-24 10:03:57 +02:00
Daniel Schwabeneder
0fa459d590 fix alpha in legend markers 2017-07-21 10:52:36 +02:00
Daniel Schwabeneder
96d34bb5ee changed marker for path with fillrange 2017-07-21 10:05:27 +02:00
Daniel Schwabeneder
9f712b44f3 add ribbon area to marker 2017-07-21 09:12:27 +02:00
Daniel Schwabeneder
52f042263b fix case 2017-07-20 23:38:16 +02:00
Daniel Schwabeneder
7b15f7d74b fix round() deprecation in gr.jl 2017-07-20 16:08:45 +02:00
Daniel Schwabeneder
155634ef34 change gr legend marker for ribbon 2017-07-19 21:26:25 +02:00
Daniel Schwabeneder
9b2da0d645 Merge branch 'master' into ds-heatmap-logscale 2017-07-16 12:51:33 +02:00
Josef Heinen
46ae505bab gr: implemented "old" heatmap behaviour 2017-06-22 15:31:13 -07:00
Josef Heinen
356a5b6136 gr: fixed heatmap bug 2017-06-22 12:56:41 -07:00
Josef Heinen
47c51b28c1 gr: heatmaps now respect xlim/ylim specifications
Fixes https://github.com/JuliaPlots/Plots.jl/issues/942
2017-06-19 18:15:33 -07:00
Daniel Schwabeneder
027ce58655 avoid negative heatmap edges for log axis on gr and pyplot 2017-06-18 16:14:44 +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
Josef Heinen
46cdbacf0b gr: removed println statement 2017-06-07 18:15:43 -07:00
Michael K. Borregaard
f097fb57b5 Fix some deprecation warnings 2017-06-07 23:55:30 +02:00
Michael Krabbe Borregaard
fe83937368 Merge pull request #870 from wfrgra/legend
add ability to specify legend placement to gr backend
2017-06-07 15:44:00 +02:00
Josef Heinen
b140fddebd gr: added support for legend title 2017-06-04 10:02:20 +02:00
Daniel Schwabeneder
dc757cbf6c changed gr legend markers for fillrange 2017-06-02 17:39:25 +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