-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Factorize' fill aesthetic #191
Comments
@funnell Want to do a PR? The code is in ggplot/components/... |
I'll have a look |
jankatins
added a commit
to jankatins/ggplot
that referenced
this issue
Feb 6, 2014
Data transformation in aes (`aes(x="np.log(column)")' now uses patsy.eval.EvalEnvironment. This should enable things like `np.log(column)`. Closes: yhat#188 The changes also let some bug in the current unittests show up: setting a aes mapping (`aes(fill=True)`) was considered equivalent to setting this values in the geom `geom_density(fill=True)`). Now this will result in the same weired result as in ggplot (if we would have already implemented fill... -> yhat#191). The affected unittests (test_basic.py, test_readme_examples.py) were changed. Also implement `__depcopy__()` for `aes` and ´ggplot` to not deepcopy the needed eval environment as deepcopy failed with the above change. ggplot deepcopy now does *not* copy the dataframe, so this should result in some speedups. Also adjusted the unittest in test_geom.py to fit this new model. Closes: yhat#145 Added unittests (test_ggplot_internals.py) to make sure that the original data is not changed and also that no data is changed after a geom addition.
Closed
See #199 for an example what currently does not work with fill :-( |
Closed
What is needed:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the fill aesthetic is set, it should be handled in a manner similar to colour, size, etc.
The text was updated successfully, but these errors were encountered: