bug in `plotnine 0.7.0`
See original GitHub issueI get the following error:
152 # 1.45 makes the default colourbar wider than the
153 # legend entry boxes.
--> 154 width = (self.barwidth or _d('legend_key_width')) * 1.45
155 height = (self.barheight or _d('legend_key_height')) * 1.45
156 height *= 5
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Installation — plotnine 0.10.1 documentation - Read the Docs
plotnine can be can be installed in a couple of ways, depending on purpose. ... e.g. if a bug you care about has...
Read more >plotnine - PyPI
plotnine is an implementation of a grammar of graphics in Python, it is based on ggplot2. The grammar allows users to compose plots...
Read more >theme_void() TypeError · Issue #424 · has2k1/plotnine - GitHub
Hi, I get a TypeError exception running this code (on this df): ggplot(df) + \ geom_tile(aes(x = 'x', y = 'y', width =...
Read more >plotnine v0.7.0 release notes (2020-06-05) | LibHunt
plotnine v0.7.0 Release Notes. Release Date: 2020-06-05 // over 2 years ago. This is a large release with many bug fixes and enhancements....
Read more >scikit-learn version bug with auto-sklearn - Kaggle
... but you have matplotlib 3.4.3 which is incompatible. hypertools 0.7.0 requires scikit-learn!=0.22,<0.24,>=0.19.1, but you have scikit-learn 0.24.2 which ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@has2k1, I figured out what causes the above bug to appear. It only happens with specific
plotnine
themes. For instance, this code gives the error mentioned in my post above. Note that this code differs from the code you ran without error in previous post only by using a different theme.So I think in
plotnine
0.7.0,geom_bin2d
is broken for specific themes:v0.7.1 is out.