Mattriks

Results 171 comments of Mattriks

Not yet, but see https://github.com/GiovineItalia/Gadfly.jl/issues/1458#issuecomment-762678958

See https://github.com/GiovineItalia/Gadfly.jl/issues/1479#issuecomment-761906342

`Geom.rect` is a basic geometry which is deliberately unstroked, because it's used by other geoms where stroking is typically not wanted e.g. `Geom.rectbin` (for tiling) and [Geom.band](http://gadflyjl.org/stable/gallery/geometries/#[Geom.band](@ref),-[Geom.hband](@ref),-[Geom.vband](@ref)-1). Gadfly is built...

Another possible solution is to use `Theme(bar_spacing=)`: ```julia using Colors, Gadfly a = rand(10, 10) cpalette(p::Float64) = weighted_color_mean(p, colorant"#56B1F7", colorant"#132B43") ccscale = Scale.color_continuous(colormap=cpalette) spy(a, ccscale, Theme(bar_spacing=1pt, panel_fill="white")) ``` ![issue1479](https://user-images.githubusercontent.com/18226881/104860191-4ac35a00-597e-11eb-89e0-0ef7bd3820cd.png)

I see what you mean. It looks like in plot `p` that `ymax` is being determined from `maximum(dt.C)`, not the stacked max. Workarounds include: - `p = plot(..., Coord.cartesian(ymin=0, ymax=2e5))`...

For Dates, `Theme(bar_spacing= )` can be plot width/height units, or absolute units, but not plot context units (info about [units in Compose](http://giovineitalia.github.io/Compose.jl/latest/tutorial/#Measures-can-be-a-combination-of-absolute-and-relative-units-1)). For example, with Dates doing `bar_spacing=Day(6)*cx` errors in...

PR #1446 will fix the first problem above. The second issue (`bar_spacing` as a `Dates.Period` type) is an issue involving `Compose` and/or `Base.Dates` (i.e. Dates doesn't provide all the maths...

I think the second issue here has been fixed by GiovineItalia/Compose.jl#409, which introduced new size units: `sx`, `sy`. These will be documented in Gadfly sometime (#1480). To use `sx`, `sy`,...

Might be good to add this to the [Gadfly Tutorial](http://gadflyjl.org/stable/tutorial/)

A current issue with `size` can be seen in the following plot. I would expect that if I asked for a polygon of a certain size e.g. `0.5sx`, that size...