

{"id":7138,"date":"2017-11-16T09:07:38","date_gmt":"2017-11-16T14:07:38","guid":{"rendered":"https:\/\/rud.is\/b\/?p=7138"},"modified":"2018-03-10T08:01:08","modified_gmt":"2018-03-10T13:01:08","slug":"new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification","status":"publish","type":"post","link":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/","title":{"rendered":"New IBM Plex Sans Support in hrbrthemes + Automating Axis Text Justification"},"content":{"rendered":"<p>IBM has a <span class=\"removed_link\" title=\"https:\/\/ibm.github.io\/type\/\">new set of corporate typefaces<\/span> &#8212; dubbed &#8220;Plex&#8221; &#8212; and has released them with a generous open license. IBM Plex Sans is not too shabby:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/IBM_Plex_Font_Free_by_IBM_%C2%BB_Font_Squirrel.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"7139\" data-permalink=\"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/ibm_plex_font_free_by_ibm__font_squirrel\/\" data-orig-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/IBM_Plex_Font_Free_by_IBM_%C2%BB_Font_Squirrel.png?fit=1500%2C1538&amp;ssl=1\" data-orig-size=\"1500,1538\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IBM_Plex_Font_Free_by_IBM_\u00bb_Font_Squirrel\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/IBM_Plex_Font_Free_by_IBM_%C2%BB_Font_Squirrel.png?fit=510%2C523&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/IBM_Plex_Font_Free_by_IBM_%C2%BB_Font_Squirrel.png?resize=510%2C523&#038;ssl=1\" alt=\"\" width=\"510\" height=\"523\" class=\"aligncenter size-full wp-image-7139\" \/><\/a><\/p>\n<p>(that image was grifted from a Font Squirrel preview page)<\/p>\n<p>The digit glyphs are especially nice for charts and the font iself is <em>just different enough<\/em> from Helvetica that I felt it was worth including in <a href=\"https:\/\/github.com\/hrbrmstr\/hrbrthemes\"><code>hrbrthemes<\/code>?<\/a>. I converted the fonts to TTF (for best compatibility with R &#8216;stuff&#8217;), added them to the package (so you can install them from there), cloned the other ipsum functions into <code>_ps<\/code> versions and tried to figure out the best fonts for various theme elements. Here&#8217;s the result so far:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/README-unnamed-chunk-7-1.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"7140\" data-permalink=\"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/readme-unnamed-chunk-7-1\/\" data-orig-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&amp;ssl=1\" data-orig-size=\"1920,1344\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"README-unnamed-chunk-7-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/README-unnamed-chunk-7-1.png?fit=510%2C357&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/README-unnamed-chunk-7-1.png?resize=510%2C357&#038;ssl=1\" alt=\"\" width=\"510\" height=\"357\" class=\"aligncenter size-full wp-image-7140\" \/><\/a><\/p>\n<p>(I <em>really<\/em> like those digits.)<\/p>\n<p>I haven&#8217;t tried <code>theme_ipsum_ps()<\/code> on anything but macOS, so if you kick the tyres and encounter problems, please <a href=\"https:\/\/github.com\/hrbrmstr\/hrbrthemes\/issues\">file an issue<\/a>.<\/p>\n<h3>Flushing ticks&#8217; text<\/h3>\n<p>Readers with keen eyes will see that the axis text labels have different <code>hjust<\/code> settings on the ends (vs the <code>0.5<\/code> in the inner ones. I don&#8217;t always set them that was as it is not always appropriate to do so (IMO). When I do, it&#8217;s usually been a &#8220;figure out the breaks and then hand-craft the <code>theme()<\/code> components&#8221; endeavour. Well, not anymore (at least in simple cases) thanks to the new <code>flush_ticks()<\/code><\/p>\n<p>It&#8217;s a dead-simple process but it requires knowing the breaks and you pretty much have to build the plot to do that, so the function takes your completed ggplot2 object, introspects it (post-temporary build) and sets the tick text justification in the style seen in the above image. The code below generates that image and demonstrates use of <code>flush_ticks()<\/code>:<\/p>\n<pre id=\"flushticks01\"><code class=\"language-r\">library(hrbrthemes)\r\nlibrary(ggplot2)\r\n\r\nggplot(mpg, aes(displ, hwy)) +\r\n  geom_jitter(aes(color=class, fill=class), size=3, shape=21, alpha=1\/2) +\r\n  scale_x_continuous(expand=c(0,0), limits=c(1, 8), breaks=1:8) +\r\n  scale_y_continuous(expand=c(0,0), limits=c(10, 50)) +\r\n  scale_color_ipsum() +\r\n  scale_fill_ipsum() +\r\n  facet_wrap(~class, scales=&quot;free&quot;) +\r\n  labs(\r\n    title=&quot;IBM Plex Sans Test&quot;,\r\n    subtitle=&quot;This is a subtitle to see the how it looks in IBM Plex Sans&quot;,\r\n    caption=&quot;Source: hrbrthemes &amp; IBM&quot;\r\n  ) +\r\n  theme_ipsum_ps(grid=&quot;XY&quot;, axis=&quot;xy&quot;) +\r\n  theme(legend.position=&quot;none&quot;) -&gt; gg\r\n\r\nflush_ticks(gg)<\/code><\/pre>\n<p>As indicated, this won&#8217;t presently work for free-scales but it&#8217;s going to save me a few minutes for each plot I would have done the more manual way. But, releasing it into the wild will help catch edge cases I haven&#8217;t considered yet. In the coming weeks, <strike>I&#8217;m going to add<\/strike> I&#8217;ve added an option to <code>flush_ticks()<\/code> to generate <code>theme(axis.text...)<\/code> statements vs just return the plot so you can include the <code>theme()<\/code> code directly vs have to rely on the function to display the plot. I may even make it an RStudio addin (though folks who would like to do that are encouraged to submit a PR).<\/p>\n<p>I hope both new <code>hrbrthemes<\/code> features are useful to folks and they should be on CRAN in mid-December with an R markdown set of themes to go with the package.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IBM has a new set of corporate typefaces &#8212; dubbed &#8220;Plex&#8221; &#8212; and has released them with a generous open license. IBM Plex Sans is not too shabby: (that image was grifted from a Font Squirrel preview page) The digit glyphs are especially nice for charts and the font iself is just different enough from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7140,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[753,91],"tags":[810],"class_list":["post-7138","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ggplot","category-r","tag-post"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>New IBM Plex Sans Support in hrbrthemes + Automating Axis Text Justification - rud.is<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"New IBM Plex Sans Support in hrbrthemes + Automating Axis Text Justification - rud.is\" \/>\n<meta property=\"og:description\" content=\"IBM has a new set of corporate typefaces &#8212; dubbed &#8220;Plex&#8221; &#8212; and has released them with a generous open license. IBM Plex Sans is not too shabby: (that image was grifted from a Font Squirrel preview page) The digit glyphs are especially nice for charts and the font iself is just different enough from [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/\" \/>\n<meta property=\"og:site_name\" content=\"rud.is\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-16T14:07:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-10T13:01:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1344\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"hrbrmstr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hrbrmstr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/\"},\"author\":{\"name\":\"hrbrmstr\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"headline\":\"New IBM Plex Sans Support in hrbrthemes + Automating Axis Text Justification\",\"datePublished\":\"2017-11-16T14:07:38+00:00\",\"dateModified\":\"2018-03-10T13:01:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/\"},\"wordCount\":426,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&ssl=1\",\"keywords\":[\"post\"],\"articleSection\":[\"ggplot\",\"R\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/\",\"name\":\"New IBM Plex Sans Support in hrbrthemes + Automating Axis Text Justification - rud.is\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&ssl=1\",\"datePublished\":\"2017-11-16T14:07:38+00:00\",\"dateModified\":\"2018-03-10T13:01:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2017\\\/11\\\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&ssl=1\",\"width\":1920,\"height\":1344},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2017\\\/11\\\/16\\\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rud.is\\\/b\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"New IBM Plex Sans Support in hrbrthemes + Automating Axis Text Justification\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/\",\"name\":\"rud.is\",\"description\":\"&quot;In God we trust. All others must bring data&quot;\",\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rud.is\\\/b\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\",\"name\":\"hrbrmstr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"width\":460,\"height\":460,\"caption\":\"hrbrmstr\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\"},\"description\":\"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7\",\"sameAs\":[\"http:\\\/\\\/rud.is\"],\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/author\\\/hrbrmstr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"New IBM Plex Sans Support in hrbrthemes + Automating Axis Text Justification - rud.is","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/","og_locale":"en_US","og_type":"article","og_title":"New IBM Plex Sans Support in hrbrthemes + Automating Axis Text Justification - rud.is","og_description":"IBM has a new set of corporate typefaces &#8212; dubbed &#8220;Plex&#8221; &#8212; and has released them with a generous open license. IBM Plex Sans is not too shabby: (that image was grifted from a Font Squirrel preview page) The digit glyphs are especially nice for charts and the font iself is just different enough from [&hellip;]","og_url":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/","og_site_name":"rud.is","article_published_time":"2017-11-16T14:07:38+00:00","article_modified_time":"2018-03-10T13:01:08+00:00","og_image":[{"width":1920,"height":1344,"url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&ssl=1","type":"image\/png"}],"author":"hrbrmstr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hrbrmstr","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/#article","isPartOf":{"@id":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/"},"author":{"name":"hrbrmstr","@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"headline":"New IBM Plex Sans Support in hrbrthemes + Automating Axis Text Justification","datePublished":"2017-11-16T14:07:38+00:00","dateModified":"2018-03-10T13:01:08+00:00","mainEntityOfPage":{"@id":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/"},"wordCount":426,"commentCount":3,"publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"image":{"@id":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&ssl=1","keywords":["post"],"articleSection":["ggplot","R"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/","url":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/","name":"New IBM Plex Sans Support in hrbrthemes + Automating Axis Text Justification - rud.is","isPartOf":{"@id":"https:\/\/rud.is\/b\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/#primaryimage"},"image":{"@id":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&ssl=1","datePublished":"2017-11-16T14:07:38+00:00","dateModified":"2018-03-10T13:01:08+00:00","breadcrumb":{"@id":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/#primaryimage","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&ssl=1","width":1920,"height":1344},{"@type":"BreadcrumbList","@id":"https:\/\/rud.is\/b\/2017\/11\/16\/new-ibm-plex-sans-support-in-hrbrthemes-automating-axis-text-justification\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rud.is\/b\/"},{"@type":"ListItem","position":2,"name":"New IBM Plex Sans Support in hrbrthemes + Automating Axis Text Justification"}]},{"@type":"WebSite","@id":"https:\/\/rud.is\/b\/#website","url":"https:\/\/rud.is\/b\/","name":"rud.is","description":"&quot;In God we trust. All others must bring data&quot;","publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rud.is\/b\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886","name":"hrbrmstr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","width":460,"height":460,"caption":"hrbrmstr"},"logo":{"@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1"},"description":"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7","sameAs":["http:\/\/rud.is"],"url":"https:\/\/rud.is\/b\/author\/hrbrmstr\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/README-unnamed-chunk-7-1.png?fit=1920%2C1344&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p23idr-1R8","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":5118,"url":"https:\/\/rud.is\/b\/2017\/02\/26\/hrbrthemes-0-1-0-is-now-on-cran\/","url_meta":{"origin":7138,"position":0},"title":"hrbrthemes 0.1.0 is now on CRAN","author":"hrbrmstr","date":"2017-02-26","format":false,"excerpt":"I'm pleased to announce the inaugural release of my hrbrthemes (0.1.0) package on CRAN The primary goal of said package is to provide opinionated typographical and other aesthetic defaults for ggplot2 charts. Two core themes are included: theme_ipsum() \u2013 an Arial Narrow-based theme theme_ipsum_rc() \u2013 a Roboto Condensed-based theme. The\u2026","rel":"","context":"In &quot;Charts &amp; Graphs&quot;","block_context":{"text":"Charts &amp; Graphs","link":"https:\/\/rud.is\/b\/category\/charts-graphs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10860,"url":"https:\/\/rud.is\/b\/2018\/06\/03\/hello-dorling-creating-dorling-cartograms-from-r-spatial-objects-introducing-prism-skeleton\/","url_meta":{"origin":7138,"position":1},"title":"Hello, Dorling! (Creating Dorling Cartograms from R Spatial Objects + Introducing Prism Skeleton)","author":"hrbrmstr","date":"2018-06-03","format":false,"excerpt":"NOTE: There is some iframed content in this post and you can bust out of it if you want to see the document in a full browser window. Also, apologies for some lingering GitHub links. I'm waiting for all the repos to import into to other services and haven't had\u2026","rel":"","context":"In &quot;R&quot;","block_context":{"text":"R","link":"https:\/\/rud.is\/b\/category\/r\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2018\/06\/dorling.png?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2018\/06\/dorling.png?fit=1200%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2018\/06\/dorling.png?fit=1200%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2018\/06\/dorling.png?fit=1200%2C800&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2018\/06\/dorling.png?fit=1200%2C800&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":6917,"url":"https:\/\/rud.is\/b\/2017\/10\/30\/gg_tweeting-power-outages\/","url_meta":{"origin":7138,"position":2},"title":"gg_tweet&#8217;ing Power Outages","author":"hrbrmstr","date":"2017-10-30","format":false,"excerpt":"As many folks know, I live in semi-rural Maine and we were hit pretty hard with a wind+rain storm Sunday to Monday. The hrbrmstr compound had no power (besides a generator) and no stable\/high-bandwidth internet (Verizon LTE was heavily congested) since 0500 Monday and still does not as I write\u2026","rel":"","context":"In &quot;ggplot&quot;","block_context":{"text":"ggplot","link":"https:\/\/rud.is\/b\/category\/ggplot\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12965,"url":"https:\/\/rud.is\/b\/2021\/02\/19\/getting-into-the-rhythm-of-chart-typography-with-ragg-and-hrbragg-a-k-a-its-ragg-time\/","url_meta":{"origin":7138,"position":3},"title":"Getting Into the Rhythm of Chart Typography with {ragg} and {hrbragg} (a.k.a. It&#8217;s {ragg}-time}","author":"hrbrmstr","date":"2021-02-19","format":false,"excerpt":"Horrible puns aside, hopefully everyone saw the news, earlier this week, from @thomasp85 on the evolution of modern typographic capabilities in the R ecosystem. Thomas (and some cohorts) has been working on {systemfonts}, {ragg}, and {textshaping} for quite a while now, and the \u2014 shall we say tidyglyphs ecosystem \u2014\u2026","rel":"","context":"In &quot;fonts&quot;","block_context":{"text":"fonts","link":"https:\/\/rud.is\/b\/category\/fonts\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2021\/02\/README-dark-mode-01-1.png?fit=1200%2C857&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2021\/02\/README-dark-mode-01-1.png?fit=1200%2C857&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2021\/02\/README-dark-mode-01-1.png?fit=1200%2C857&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2021\/02\/README-dark-mode-01-1.png?fit=1200%2C857&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2021\/02\/README-dark-mode-01-1.png?fit=1200%2C857&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":11597,"url":"https:\/\/rud.is\/b\/2018\/09\/28\/quick-hit-using-the-new-equal-earth-projection-in-r\/","url_meta":{"origin":7138,"position":4},"title":"Quick Hit: Using the New Equal Earth Projection in R","author":"hrbrmstr","date":"2018-09-28","format":false,"excerpt":"In my semi-daily run of brew update I noticed that proj4 had been updated to 5.2. I kinda \"squeee\"'d since (as the release notes show) the Equal Earth projection was added to it (+proj=eqearth). As the team who created the projection describes it: \"The Equal Earth map projection is a\u2026","rel":"","context":"In &quot;cartography&quot;","block_context":{"text":"cartography","link":"https:\/\/rud.is\/b\/category\/cartography\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2018\/09\/eqearth.png?fit=1200%2C720&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2018\/09\/eqearth.png?fit=1200%2C720&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2018\/09\/eqearth.png?fit=1200%2C720&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2018\/09\/eqearth.png?fit=1200%2C720&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2018\/09\/eqearth.png?fit=1200%2C720&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":13938,"url":"https:\/\/rud.is\/b\/2023\/04\/12\/make-solar-system-plots-with-ggsolar\/","url_meta":{"origin":7138,"position":5},"title":"Make &#8220;Solar System&#8221; Plots With {ggsolar}","author":"hrbrmstr","date":"2023-04-12","format":false,"excerpt":"I was cranking out a blog post for work earlier this week that shows off just how many integrations our platform has. I won't blather about that content here, but as I was working on it, I really wanted to show off all the integrations. A table seemed far too\u2026","rel":"","context":"In &quot;ggplot&quot;","block_context":{"text":"ggplot","link":"https:\/\/rud.is\/b\/category\/ggplot\/"},"img":{"alt_text":"5 solar system panels","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/04\/gn-universe.png?fit=1200%2C902&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/04\/gn-universe.png?fit=1200%2C902&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/04\/gn-universe.png?fit=1200%2C902&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/04\/gn-universe.png?fit=1200%2C902&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/04\/gn-universe.png?fit=1200%2C902&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/7138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/comments?post=7138"}],"version-history":[{"count":0,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/7138\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media\/7140"}],"wp:attachment":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media?parent=7138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/categories?post=7138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/tags?post=7138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}