There is a newer version of this record available.

Software Open Access

has2k1/plotnine: v0.6.0

Hassan Kibirige; Greg Lamp; Jan Katins; Austin O.; gdowding; Tyler Funnell; matthias-k; Jonas Arnfred; Florian Finkernagel; Dan Blanchard; Eric Chiang; Sergey Astanin; Paul Natsuo Kishimoto; stonebig; Evan Sheehan; Robert Gibboni; Bernard Willers; Pavel; Yaroslav Halchenko; smutch; zachcp; John Collins; Min RK; Brian King; Duncan Brian; Div Arora; Dan Brown; Dan Becker; Bevan Koopman; Anthony


DataCite XML Export

<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd">
  <identifier identifierType="DOI">10.5281/zenodo.3373956</identifier>
  <creators>
    <creator>
      <creatorName>Hassan Kibirige</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Greg Lamp</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Jan Katins</creatorName>
      <affiliation>@zenjob</affiliation>
    </creator>
    <creator>
      <creatorName>Austin O.</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>gdowding</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Tyler Funnell</creatorName>
      <affiliation>MSKCC</affiliation>
    </creator>
    <creator>
      <creatorName>matthias-k</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Jonas Arnfred</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Florian Finkernagel</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Dan Blanchard</creatorName>
      <affiliation>Parse.ly</affiliation>
    </creator>
    <creator>
      <creatorName>Eric Chiang</creatorName>
      <affiliation>@Google</affiliation>
    </creator>
    <creator>
      <creatorName>Sergey Astanin</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Paul Natsuo Kishimoto</creatorName>
      <affiliation>International Institute for Applied Systems Analysis @iiasa</affiliation>
    </creator>
    <creator>
      <creatorName>stonebig</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Evan Sheehan</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Robert Gibboni</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Bernard Willers</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Pavel</creatorName>
      <affiliation>VK</affiliation>
    </creator>
    <creator>
      <creatorName>Yaroslav Halchenko</creatorName>
      <affiliation>Dartmouth College, @Debian, @DataLad, @PyMVPA, @fail2ban</affiliation>
    </creator>
    <creator>
      <creatorName>smutch</creatorName>
      <affiliation>The University Of Melbourne</affiliation>
    </creator>
    <creator>
      <creatorName>zachcp</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>John Collins</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Min RK</creatorName>
      <affiliation>Simula Research Laboratory</affiliation>
    </creator>
    <creator>
      <creatorName>Brian King</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Duncan Brian</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Div Arora</creatorName>
      <affiliation></affiliation>
    </creator>
    <creator>
      <creatorName>Dan Brown</creatorName>
      <affiliation>Stripe</affiliation>
    </creator>
    <creator>
      <creatorName>Dan Becker</creatorName>
      <affiliation>Google</affiliation>
    </creator>
    <creator>
      <creatorName>Bevan Koopman</creatorName>
      <affiliation>CSIRO</affiliation>
    </creator>
    <creator>
      <creatorName>Anthony</creatorName>
      <affiliation></affiliation>
    </creator>
  </creators>
  <titles>
    <title>has2k1/plotnine: v0.6.0</title>
  </titles>
  <publisher>Zenodo</publisher>
  <publicationYear>2019</publicationYear>
  <dates>
    <date dateType="Issued">2019-08-21</date>
  </dates>
  <resourceType resourceTypeGeneral="Software"/>
  <alternateIdentifiers>
    <alternateIdentifier alternateIdentifierType="url">https://zenodo.org/record/3373956</alternateIdentifier>
  </alternateIdentifiers>
  <relatedIdentifiers>
    <relatedIdentifier relatedIdentifierType="URL" relationType="IsSupplementTo">https://github.com/has2k1/plotnine/tree/v0.6.0</relatedIdentifier>
    <relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.5281/zenodo.1325308</relatedIdentifier>
  </relatedIdentifiers>
  <version>v0.6.0</version>
  <rightsList>
    <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
  </rightsList>
  <descriptions>
    <description descriptionType="Abstract">&lt;p&gt;This release has many changes, check out the &lt;a href="https://plotnine.readthedocs.io/en/stable/changelog.html#v0-6-0"&gt;changelog&lt;/a&gt;. A version of the changes is included below.&lt;/p&gt;

API Changes
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The &lt;code&gt;draw&lt;/code&gt; parameter of &lt;code&gt;geom_map&lt;/code&gt; has been removed. Shapefiles should contain only one type of geometry and that is the geometry that is drawn.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ordinal (Ordered categorical) columns are now mapped to ordinal scales. This creates different plots.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The default mapping for the computed aesthetic &lt;em&gt;size&lt;/em&gt; of &lt;code&gt;stat_sum&lt;/code&gt; has changed to &lt;code&gt;'stat(n)'&lt;/code&gt;. This also changes the default plot for &lt;code&gt;geom_count&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
New Features
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;geom_text&lt;/code&gt; gained the &lt;code&gt;adjust_text&lt;/code&gt; parameter, and can now repel text.&lt;/li&gt;
&lt;li&gt;Added &lt;code&gt;annotation_logticks&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Added &lt;code&gt;geom_sina&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Added scales for ordinal (ordered categorical) columns.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;geom_step&lt;/code&gt; gained the option &lt;code&gt;mid&lt;/code&gt; for the direction parameter. The steps are taken mid-way between adjacent x values.&lt;/li&gt;
&lt;li&gt;Added &lt;code&gt;annotation_stripes&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
Bug Fixes
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Fixed bug where facetting would fail if done on a plot with annotation(s) and one of the facetting columns was also a variable in the environment.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug where &lt;code&gt;coord_flip&lt;/code&gt; would not flip geoms created by &lt;code&gt;geom_rug&lt;/code&gt; (&lt;a href="https://github.com/has2k1/plotnine/issues/216"&gt;GH216&lt;/a&gt;).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug where plots with &lt;code&gt;theme_xkcd&lt;/code&gt; cannot be saved twice (&lt;a href="https://github.com/has2k1/plotnine/issues/199"&gt;GH199&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug that made it impossible to map to columns with the same name as a calculated columns of the stat. (&lt;a href="https://github.com/has2k1/plotnine/issues/234"&gt;GH234&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug in &lt;code&gt;geom_smooth&lt;/code&gt; that made it difficult to use it with stats other than &lt;code&gt;stat_smooth&lt;/code&gt;. (&lt;a href="https://github.com/has2k1/plotnine/issues/242"&gt;GH242&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug in &lt;code&gt;position_dodge&lt;/code&gt; where by bar plot could get thinner when facetting and useing &lt;code&gt;preserve = 'single'&lt;/code&gt;. (&lt;a href="https://github.com/has2k1/plotnine/issues/224"&gt;GH224&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug in &lt;code&gt;coord_trans&lt;/code&gt; where if the transformation reversed the original limits, the order in which the data was laid out remained unchanged. (&lt;a href="https://github.com/has2k1/plotnine/issues/253"&gt;GH253&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug in &lt;code&gt;stat_count&lt;/code&gt; where &lt;code&gt;float&lt;/code&gt; weights were rounded and lead to a wrong plot. (&lt;a href="https://github.com/has2k1/plotnine/issues/260"&gt;GH260&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug where one could not use the British spelling &lt;code&gt;colour&lt;/code&gt; to rename a color scale. (&lt;a href="https://github.com/has2k1/plotnine/issues/264"&gt;GH264&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug in &lt;code&gt;lims&lt;/code&gt;, &lt;code&gt;xlim&lt;/code&gt;, and &lt;code&gt;ylim&lt;/code&gt; where &lt;code&gt;datetime&lt;/code&gt; and &lt;code&gt;timedelta&lt;/code&gt; limits resulted in an error.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug where &lt;code&gt;geom_rect&lt;/code&gt; could not be used with &lt;code&gt;coord_trans&lt;/code&gt;. (&lt;a href="https://github.com/has2k1/plotnine/issues/256"&gt;GH256&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug where using free scales with facetting and flipping the coordinate axes could give unexpected results. (&lt;a href="https://github.com/has2k1/plotnine/issues/286"&gt;GH286&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed unwanted tick along the axis for versions of Matplotlib &amp;gt;= 3.1.0.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed &lt;code&gt;geom_text&lt;/code&gt; not to error when using &lt;code&gt;hjust&lt;/code&gt; and &lt;code&gt;vjust&lt;/code&gt;. (&lt;a href="https://github.com/has2k1/plotnine/issues/287"&gt;GH287&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug where &lt;code&gt;geom_abline&lt;/code&gt; &lt;code&gt;geom_hline&lt;/code&gt; and &lt;code&gt;geom_vline&lt;/code&gt; could give wrong results when used with &lt;code&gt;coord_trans&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fixed bug where layers with only infinite values would lead to an exception if they were the first layer encountered when choosing a scale.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
Enhancements
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Legends are now plotted in a predictable order which dedends on how the plot is constructed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The spokes drawn by &lt;code&gt;geom_spoke&lt;/code&gt; can now have a fixed angle.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Aesthetics that share a scale (e.g. color and fill can have the same scale) get different guides if mapped to different columns.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When the transform of a specialised (one that is not and identity scale) continuous scale is altered, the user is warned about a possible error in what they expect. (&lt;a href="https://github.com/has2k1/plotnine/issues/254"&gt;GH254&lt;/a&gt;, &lt;a href="https://github.com/has2k1/plotnine/issues/255"&gt;GH255&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The &lt;code&gt;method_args&lt;/code&gt; parameter in &lt;code&gt;stat_smooth&lt;/code&gt; can now differentiate between arguments for initialising and those for fitting the smoothing model.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;position_nudge&lt;/code&gt; can now deal with more geoms e.g. &lt;code&gt;geom_boxplot&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The &lt;code&gt;limits&lt;/code&gt; parameter of &lt;code&gt;scale_x_discrete&lt;/code&gt; and &lt;code&gt;scale_y_discrete&lt;/code&gt; can now be a function.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The &lt;code&gt;width&lt;/code&gt; of the boxplot can now be set irrespective of the stat.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The mid-point color of &lt;code&gt;scale_color_distiller&lt;/code&gt; now matches that of the trainned data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The way in which layers are created has been refactored to give packages that that extend plotnine more flexibility in manipulating the layers.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can now specify one sided limits for coordinates. e.g. &lt;code&gt;coord_cartesian(limits=(None, 10))&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;All the themeables have been lifted into the definition of &lt;code&gt;theme&lt;/code&gt; so they can be suggested autocomplete.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</description>
  </descriptions>
</resource>
723
46
views
downloads
All versions This version
Views 72344
Downloads 469
Data volume 190.9 MB40.0 MB
Unique views 64740
Unique downloads 308

Share

Cite as