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


MARC21 XML Export

<?xml version='1.0' encoding='UTF-8'?>
<record xmlns="http://www.loc.gov/MARC21/slim">
  <leader>00000nmm##2200000uu#4500</leader>
  <controlfield tag="005">20200805201044.0</controlfield>
  <controlfield tag="001">3373956</controlfield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Greg Lamp</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">@zenjob</subfield>
    <subfield code="a">Jan Katins</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Austin O.</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">gdowding</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">MSKCC</subfield>
    <subfield code="a">Tyler Funnell</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">matthias-k</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Jonas Arnfred</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Florian Finkernagel</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">Parse.ly</subfield>
    <subfield code="a">Dan Blanchard</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">@Google</subfield>
    <subfield code="a">Eric Chiang</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Sergey Astanin</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">International Institute for Applied Systems Analysis @iiasa</subfield>
    <subfield code="a">Paul Natsuo Kishimoto</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">stonebig</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Evan Sheehan</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Robert Gibboni</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Bernard Willers</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">VK</subfield>
    <subfield code="a">Pavel</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">Dartmouth College, @Debian, @DataLad, @PyMVPA, @fail2ban</subfield>
    <subfield code="a">Yaroslav Halchenko</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">The University Of Melbourne</subfield>
    <subfield code="a">smutch</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">zachcp</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">John Collins</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">Simula Research Laboratory</subfield>
    <subfield code="a">Min RK</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Brian King</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Duncan Brian</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Div Arora</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">Stripe</subfield>
    <subfield code="a">Dan Brown</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">Google</subfield>
    <subfield code="a">Dan Becker</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="u">CSIRO</subfield>
    <subfield code="a">Bevan Koopman</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">Anthony</subfield>
  </datafield>
  <datafield tag="856" ind1="4" ind2=" ">
    <subfield code="s">4444693</subfield>
    <subfield code="z">md5:40f450a9824d9a90adc983c46b4917b3</subfield>
    <subfield code="u">https://zenodo.org/record/3373956/files/has2k1/plotnine-v0.6.0.zip</subfield>
  </datafield>
  <datafield tag="542" ind1=" " ind2=" ">
    <subfield code="l">open</subfield>
  </datafield>
  <datafield tag="260" ind1=" " ind2=" ">
    <subfield code="c">2019-08-21</subfield>
  </datafield>
  <datafield tag="909" ind1="C" ind2="O">
    <subfield code="p">software</subfield>
    <subfield code="o">oai:zenodo.org:3373956</subfield>
  </datafield>
  <datafield tag="100" ind1=" " ind2=" ">
    <subfield code="a">Hassan Kibirige</subfield>
  </datafield>
  <datafield tag="245" ind1=" " ind2=" ">
    <subfield code="a">has2k1/plotnine: v0.6.0</subfield>
  </datafield>
  <datafield tag="540" ind1=" " ind2=" ">
    <subfield code="a">Other (Open)</subfield>
  </datafield>
  <datafield tag="650" ind1="1" ind2="7">
    <subfield code="a">cc-by</subfield>
    <subfield code="2">opendefinition.org</subfield>
  </datafield>
  <datafield tag="520" ind1=" " ind2=" ">
    <subfield code="a">&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;</subfield>
  </datafield>
  <datafield tag="773" ind1=" " ind2=" ">
    <subfield code="n">url</subfield>
    <subfield code="i">isSupplementTo</subfield>
    <subfield code="a">https://github.com/has2k1/plotnine/tree/v0.6.0</subfield>
  </datafield>
  <datafield tag="773" ind1=" " ind2=" ">
    <subfield code="n">doi</subfield>
    <subfield code="i">isVersionOf</subfield>
    <subfield code="a">10.5281/zenodo.1325308</subfield>
  </datafield>
  <datafield tag="024" ind1=" " ind2=" ">
    <subfield code="a">10.5281/zenodo.3373956</subfield>
    <subfield code="2">doi</subfield>
  </datafield>
  <datafield tag="980" ind1=" " ind2=" ">
    <subfield code="a">software</subfield>
  </datafield>
</record>
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