74 Commits

Author SHA1 Message Date
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
14b3852060
add :symmetric docs 2021-06-04 22:09:51 +02:00
David Gustavsson
4731477920 Add annotation font defaults 2021-05-01 20:39:55 +02:00
Daniel Schwabeneder
7bb2132b18 add tick_direction=:none option to hide tick labels 2021-04-28 20:27:50 +02:00
Zhanibek
c0824bdc62
Colorbar enhancements (#3346)
* CompatHelper: bump compat for "Showoff" to "1.0"

* fix series-segments for empty series

* fix wireframe on pyplot

* colorbar redesign

* minimal working version

* reduce code duplication for colorbar ticks

* fix aspect_ratio in GR with legend=:outertopright

* fix GR test failure

* new release [skip ci]

* colorbar scale supported

* Added weights example to ? histogram

Helps to clarify the use of weights (which differs from StatsBase functions)

* Update precompile_*.jl file

* minor version bump [skip ci]

* working prototype

* fixed formatting, added colorbar docs

* colorbar redesign

* minimal working version

* reduce code duplication for colorbar ticks

* fix GR test failure

* colorbar scale supported

* working prototype

* fixed formatting, added colorbar docs

Co-authored-by: Daniel Schwabeneder <daschw@disroot.org>
2021-03-25 11:22:07 +09:00
David Gustavsson
9cee7a2c47 Documentation for legend angle 2021-03-02 11:53:47 +01: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
Moritz Schauer
c0adba6615
Update arg_desc.jl (#2830)
Mention aspect_ratio = :none
2020-07-01 10:23:28 +02:00
isentropic
7dcbe911b1
Legends documentation and some todos (#2770)
* improve legends documentation

* todo additional legend positions

* Update plotly.jl

removed todo
2020-06-09 13:30:06 +02:00
jamblejoe
238aca6a78
added description for argument legendtitle (#2697) 2020-05-12 18:32:21 +02:00
Daniel Schwabeneder
3273a65889
Merge pull request #2657 from mileslucas/climsfunc
allow passing a function to `clims`
2020-05-05 08:18:07 +02:00
Daniel Schwabeneder
61f5a7f437 fix extra_kwargs docs string 2020-05-03 15:39:51 +02:00
Simon Christ
d667cb7e57
update documentation of extra_kwargs 2020-05-03 15:10:34 +02:00
Miles Lucas
a59e8411c9 update clims arg description 2020-04-30 22:30:03 -10:00
Daniel Schwabeneder
d1fb11ce97 add option to avoid warning on unsupported arguments 2020-04-24 20:10:17 +02:00
Daniel Schwabeneder
122b4d91a8
Merge pull request #2619 from jamblejoe/patch-titlelocation
changed title_location -> titlelocation
2020-04-23 21:08:39 +02:00
Goran Nakerst
5d37264487 changed title_location -> titlelocation 2020-04-23 13:48:42 +01:00
jamblejoe
c976a6de83
Add documentation for legend=(x,y)
Added documentation in arg_desc.jl for placing legends via legend=(x,y) where x,y are Real.
2020-04-23 00:07:28 +01:00
wfrgra
2a4b74d0ff renamed new legend setting from :label to :inline 2020-03-31 19:38:47 +11:00
daschw
653e0b80b2 Merge branch 'show-empty-bins' of https://github.com/yha/Plots.jl into yha-show-empty-bins 2019-10-13 19:53:39 +02:00
Daniel Schwabeneder
3fdf87a955 add legendtitlefont attributes 2019-08-26 10:37:07 +02:00
Jeff Fessler
8f4753a0bb
Document :colorbar_entry
Addresses #2068
2019-06-21 09:53:22 -04:00
yha
f75ae01c16 Series attribute to show empty bins as 0. 2019-06-13 16:30:21 +03:00
HMH
710123aab4 Add attribute draw_arrow for axes.
The draw_arrow attribute enables drawing an arrow at the end of an axis.
Currently supported only by the PGFPlots backend.
2019-05-01 00:27:20 +02:00
Balázs Ferenc Mezei
c4f2de198e Add option :tex_output_standalone to set the 'include_preamble' argument in the PGFPlots backend. 2019-03-03 00:04:05 +00:00
Samuel S. Watson
e30889aa12 document @shorthands functions 2019-01-16 15:04:01 +01:00
Daniel Schwabeneder
af34fdc45a add :plain formatter option in arg_desc 2018-11-11 21:25:41 +01:00
Godisemo
beb73d891d Document new guide_position argument 2018-09-14 09:19:56 +02:00
Unknown
92b0d5c0be Add line_z and update arg_desc.jl 2018-08-19 13:52:26 +02:00
Michael Krabbe Borregaard
3e56aa43e4 linspace -> range 2018-08-11 11:24:54 +01:00
Will Grant
7eaae3a6d5 Add full keyword control of minor grid 2018-07-16 17:37:19 +10:00
Will Grant
dd434b89d2 add minor grid and tick marks. Works, but doesn't extend beyond major ticks 2018-07-11 17:17:45 +10:00
Daniel Schwabeneder
61a2d962c0 widen most seriestypes including logscales 2018-06-24 11:03:56 +02:00
Daniel Schwabeneder
3e66c6cce4 change DPI value back 2018-06-16 11:51:49 +02:00
Will Grant
91ed04ff83 update documentation in arg_desc with round limits option 2018-06-06 18:44:07 +10:00
Daniel Schwabeneder
f901254519 add contour_labels attribute and minor GR contour fixes 2018-02-28 21:19:18 +01:00
Daniel Schwabeneder
129a91b36f update arg description 2017-11-19 21:18:04 +01:00
Andrew Palugniok
f4bc2e0649 Convert :camera attribute input for GR. 2017-10-07 20:05:53 +01:00
Andrew Palugniok
0c5a9172ab Added camera attribute processing. 2017-10-06 20:46:25 +01:00
Daniel Schwabeneder
ee7a3b3686 general axis fixes and improvemennts 2017-09-29 13:41:54 +02:00
Daniel Schwabeneder
18188516ec implement showaxis attribute for gr 2017-09-29 11:48:17 +02:00
Daniel Schwabeneder
b73ea55bbd implement tick_direction for GR, PyPlot, Plotly and GLVisualize 2017-09-27 13:53:06 +02:00
Michael K. Borregaard
cd1913c008 Update bins description 2017-08-31 23:20:55 +02:00
Michael K. Borregaard
e92fbadc3a Update histogram normalization desc 2017-08-31 23:12:33 +02:00
Daniel Schwabeneder
5a2d39320f framestyle attribute for gr, pyplot and glvisualize 2017-08-24 16:13:01 +02:00
Daniel Schwabeneder
be4a374122 allow turning on/off the axes border 2017-08-20 21:55:21 +02:00
Daniel Schwabeneder
e0c679f5ee magic grid argument 2017-08-16 17:45:32 +02:00
Daniel Schwabeneder
6b814b8dca initial commit mostly a copy of #695 2017-08-10 16:32:24 +02:00
Michael K. Borregaard
db1dd618ea Add example with linspace 2017-06-07 11:01:47 +02:00
Michael K. Borregaard
132306fef1 amend bins description 2017-06-07 08:02:18 +02:00