Skip to content

Output plots do not support font family + weird default font #604

@raivivek

Description

@raivivek

Hi,

It appears that my IRKernel setup is not working as expected. The plot appears to be rough and changing the fonts doesn't work as expected. See below.

image

However, after using the function from #559, the plot shows up as it should along with font changes as required which tells me that underlying R is working as expected. I am not sure what could be wrong. Shouldn't the first plot look like the second one anyway?
image

R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 9 (stretch)

locale:
[1] en_US.UTF-8

attached base packages:
character(0)

other attached packages:
[1] IRdisplay_0.6.2.9000 IRkernel_0.8.14.9000 repr_0.17.9000      

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.19         pillar_1.3.0         compiler_3.5.1      
 [4] plyr_1.8.4           bindr_0.1.1          methods_3.5.1       
 [7] base64enc_0.1-3      utils_3.5.1          tools_3.5.1         
[10] grDevices_3.5.1      digest_0.6.18        uuid_0.1-2          
[13] jsonlite_1.5         evaluate_0.12        tibble_1.4.2        
[16] gtable_0.2.0         pkgconfig_2.0.2      rlang_0.3.0.1       
[19] bindrcpp_0.2.2       withr_2.1.2          dplyr_0.7.8         
[22] RevoUtils_11.0.1     graphics_3.5.1       datasets_3.5.1      
[25] stats_3.5.1          cowplot_0.9.3        grid_3.5.1          
[28] tidyselect_0.2.5     glue_1.3.0           base_3.5.1          
[31] R6_2.3.0             pbdZMQ_0.3-3         ggplot2_3.1.0       
[34] purrr_0.2.5          magrittr_1.5         scales_1.0.0        
[37] htmltools_0.3.6      assertthat_0.2.0     colorspace_1.3-2    
[40] labeling_0.3         RevoUtilsMath_11.0.0 lazyeval_0.2.1      
[43] munsell_0.5.0        crayon_1.3.4         Cairo_1.5-9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions