-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
line3D set_data only takes in x and y data #8914
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
Comments
I suspect you want to do this with the current Exact work:
|
You can't override set/get_data. Those methods are widely used throughout
the codebase and elsewhere, and it is understood to mean the data as
displayed in the 2d coordinates. This is why we really need a new set/get
data method that is uniform across all artist types that refers to
something slightly different: getting and setting the raw data. For most 2d
artists, that would be synonymous with set/get_data.
…On Wed, Jul 19, 2017 at 8:18 PM, Thomas A Caswell ***@***.***> wrote:
I suspect you want to do this with the current set_data +
set_3d_properties methods.
Exact work:
- The set_data method needs to be over-ridden in
mpl_toolkits.mplot3D.art3D.Line3D
- add a test (does not raise should be enough)
- bonus: also do get_data
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8914 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARy-GVQGPgRX8R9FrGHu5F7Fc7txoo_ks5sPpzPgaJpZM4OdVp6>
.
|
In the meantime, should a |
Bug report
I was attempting to make an interactive 3D line plot in jupyter notebook, but noticed that line3D set_data method only takes in x and y data.
Code for reproduction
The code below can be run outside of jupyter notebook to demonstrate the problem:
Actual outcome
Expected outcome
I would expect the set_data method exposed by line3D to take in 3 values.
Matplotlib version
The text was updated successfully, but these errors were encountered: