Comments (6)
This has been resolved in plotnine v0.13.2.
from mizani.
Pandas is moving towards "copy-on-write" (CoW 🐄), which will be default starting in version 3.0 (I am not sure when that will be released).
current schedule is late April / early may
You can make the data writeable again if you are certain that you don't modify inplace with
arr.flags.writeable = True
from mizani.
I'm aware of pandas 3 and hope to sort this out by then. I hadn't thought about temporarily disabling COW.
I think I am going to make a release that in interim disables COW.
from mizani.
Would it be possible to use numpy.nan_to_num() ?
return np.nan_to_num(np.asarray(x), nan=np.nan, posinf=range[1], neginf=range[0])
from mizani.
Would it be possible to use numpy.nan_to_num() ?
return np.nan_to_num(np.asarray(x), nan=np.nan, posinf=range[1], neginf=range[0])
I don't think so, this is causing the same error as above.
from mizani.
You can add copy=True if you want to be able to modify the array in place
from mizani.
Related Issues (20)
- Missing `number` and `number_format`
- Unable to load mizani.transforms on some platforms due to lack of system tzdata on some platforms HOT 4
- Error when loading dev version: No module named 'mizani.external' HOT 1
- Release: mizani-0.9.1
- Bug with datetime values in `timezone.utc` HOT 2
- Release: mizani-0.9.2
- Release: mizani-0.10.0
- Spotted incompatibility problem HOT 2
- Warnings when used with pandas 2.1.0
- Release: mizani-0.9.3
- Dependency issues of plotnine and mizani? HOT 3
- Release: mizani-0.11.0
- scale_color_continuous does not recognize many matplotlib color maps
- Release: mizani-0.11.1
- Release: mizani-0.11.2
- Date labels missing HOT 1
- Release: mizani-0.11.3
- Release: mizani-0.11.4
- Comparison between tz-naive and tz-aware datetime objects due to `floor_hour` timezone erasure HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mizani.