glow's People
glow's Issues
Doesn't plot
When I run glow I get no plot and a warning:
> ggplot() +
+ geom_raster(data = pd, aes(x = pd$x, y = pd$y, fill = pd$value), show.legend = F) +
+ scale_fill_gradientn(colors = additive_alpha(magma(12))) +
+ coord_fixed(gm$aspect(), xlim = gm$xlim(), ylim = gm$ylim()) +
+ labs(x = "carat", y = "price") +
+ theme_night(bgcolor = magma(1))
Warning message:
In diff.default(xscale) : reached elapsed time limit
BTW - in vignette:
gm <- GlowMapper$new(xdim=2000, ydim = 2000, blend_mode = "screen", nthreads=nt)
does not run since nt
was not yet defined.
> sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.5 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=nl_NL.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=nl_NL.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] viridis_0.5.1 viridisLite_0.3.0 glow_0.10.1 ggplot2_3.3.2
loaded via a namespace (and not attached):
[1] Rcpp_1.0.5 rstudioapi_0.11 magrittr_1.5 tidyselect_1.1.0 munsell_0.5.0
[6] colorspace_1.4-1 R6_2.4.1 rlang_0.4.7 dplyr_1.0.0 tools_3.6.3
[11] grid_3.6.3 gtable_0.3.0 pacman_0.5.1 withr_2.3.0 ellipsis_0.3.1
[16] digest_0.6.25 RcppParallel_5.0.2 tibble_3.0.3 lifecycle_0.2.0 crayon_1.3.4
[21] gridExtra_2.3 farver_2.0.3 purrr_0.3.4 vctrs_0.3.4 glue_1.4.2
[26] labeling_0.3 compiler_3.6.3 pillar_1.4.6 generics_0.0.2 scales_1.1.1
[31] pkgconfig_2.0.3
Warning message:
In diff.default(xscale) : reached elapsed time limit
nt object missing in the vignette
Hi, great package. In the readme/vignette, you are using nt object in th call:
gm <- GlowMapper$new(xdim=2000, ydim = 2000, blend_mode = "screen", nthreads=nt)
but the nt was not set before that.
cheers,
Karel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.