Incorrect marker style in scatter3d
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 18.8k
- Fork
- 2.8k
- Merge trung bình
- 16 giờ 26 phút
- Pull request đã merge (30 ngày)
- 21
Mô tả
I was using plotly inside jupyter notebook and I wanted to change the border width of markers in a scatter3d plot. It turns out the property 'marker.line.with' does not work. While in the 2d scatter plot, this property just works fine in jupyter notebook.
Here is the code I used to generate the scatter3d plot
import plotly.graph_objects as go
# Generate example data
import numpy as np
np.random.seed(1)
x = np.random.uniform(low=3, high=6, size=(50,))
y = np.random.uniform(low=3, high=6, size=(50,))
z = np.random.uniform(low=3, high=6, size=(50,))
# Build figure
fig = go.Figure()
# Add scatter trace with medium sized markers
fig.add_trace(
go.Scatter3d(
mode='markers',
x=x,
y=y,
z=z,
marker=dict(
color='red',
size=10,
opacity=0.8,
line=dict(
color='black',
width=5
)
),
showlegend=False
)
)

Even if I change the 'marker.line.width' to a very large number, like 50, the plot does not change at all.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách chạy ví dụ go.Scatter3d được cung cấp trong một notebook Jupyter và kiểm tra entry point của Scatter3d marker.line.width. So sánh hành vi của nó với trường hợp scatter 2D; được xem là hoàn tất khi độ rộng đường viền marker thay đổi rõ ràng và hành vi này được bao phủ bởi một regression test.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- jupyter-notebook, python
- Lĩnh vực
- data-visualization
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100