Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Line3DCollection iterable arguments #1079

Closed
@akhmerov

Description

@akhmerov

If aLine3DCollection is initialized from iterable arguments, it will be rendered initially, however will disappear upon rotation.
Here's code that reproduces the issue:

import matplotlib.pyplot as pltfrom mpl_toolkits import mplot3dfig = plt.figure()ax = fig.add_subplot((111),  projection='3d')ax.scatter((1, 2), (1, 2), (1, 2))lines = iter([((1, 1, 1), (2, 2, 2))])ax.add_collection(mplot3d.art3d.Line3DCollection(lines))

This shows a plot with two dots an a line connecting them. However when viewpoint is changed using GUI, the line disappears. I suspect the same behavior applies to any other 3D collection.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp