Skip to content
#

data-visualisation

Here are 289 public repositories matching this topic...

bokeh
fnlearner
fnlearner commented Apr 10, 2020
  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

view the diagram in mobile or chorme opening devtool and click the icon of toggling

bhogan-mitre
bhogan-mitre commented Apr 8, 2020

Color is listed as a parameter in the documentation for geom_tile/geom_rect/geom_raster, but is ignored for geom_raster. Based on the documentation and the behavior of other geoms, I would expect that color would be applied for geom_raster.

library(ggplot2)
df <- expand.grid(x = 0:5, y = 0:5)
df$z <- runif(nrow(df))
ggplot(df, aes(x, y, fill = z)) + geom_raster(color = "blac
ralienpp
ralienpp commented Dec 6, 2018

I am building an interactive system that uses Jupyter widgets to control the settings that go into the Sankey diagram definition. The idea is to render the diagram when a button is pressed, at this stage I check the custom values entered by the user and adjust the diagram parameters accordingly.

I have the following proof of concept code, which is just a minor extension of the example from th

baeolophus
baeolophus commented Jan 22, 2019

I suggest either adding a short code piece to use the rename() function to change the column "genus" to "genera" (thus alerting the learners to their relationship here, while adding a new function) or changing the column name in the original dataset. Otherwise, I've found that using the correct plural for genus confuses learners who are not biologists. Although it's the R ecology lesson and one

jcoliver
jcoliver commented Jan 7, 2020

The text uses two different articles when referring to files with the .R extension (i.e. "an .R file" and "a .R file"). This should be standardized. When referring to the file extension in speech, the ".R" is generally spoken as "dot are", so using the article "a" seems most appropriate.

The help pane could use additional calling out; the section describing mathematical functions (sin/cos/t

umnik20
umnik20 commented May 4, 2020

Dear Community,

There is a typo in the section titled "The StringsAsFactors argument" after the second block of code that demonstrates the use of the str() function. Right after the code boxes is written "We can see that the $Color and $State columns are factors and $Speed is a numeric column", but the box shows that the $Color column is a vector of strings.

Regards,

Rodolfo

ashleychampagne
ashleychampagne commented Mar 26, 2019

In this lesson, we learn that you can use a slice to get a substring and that "Numbers are not stored in the written representation, so they can’t be treated like strings." However, what about adding a short follow up to this part of the assignment to teach the students how to convert an integer to a string? For example, if you type in the code:

a = str(123)
print(a[1])

instead of the code

lachlandeer
lachlandeer commented Jul 30, 2018

In episode _episodes_rmd/12-time-series-raster.Rmd

There is a big chunk of code that can probably be made to look nicer via dplyr:

# Plot RGB data for Julian day 133
 RGB_133 <- stack("data/NEON-DS-Landsat-NDVI/HARV/2011/RGB/133_HARV_landRGB.tif")
 RGB_133_df <- raster::as.data.frame(RGB_133, xy = TRUE)
 quantiles = c(0.02, 0.98)
 r <- quantile(RGB_133_df$X133_HARV_landRGB.1, q

Improve this page

Add a description, image, and links to the data-visualisation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the data-visualisation topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.