voteview / WebVoteView

Webbased rollcall vote visualization software
MIT License
35 stars 5 forks source link

Map download colors missing #408

Closed adamboche closed 3 years ago

adamboche commented 3 years ago

I got an email from a user who wants to download maps.

This page https://voteview.com/rollcall/RS0220370 contains this image

image

but the download button saves an image without colors.

image

JeffreyBLewis commented 3 years ago

I can reproduce this problem. The encoding of the SVG into PNG for download is down in javascript at https://github.com/exupero/saveSvgAsPng. That project is now archived.

On Mon, Jun 7, 2021 at 11:53 AM Adam Boche @.***> wrote:

I got an email from a user who wants to download maps.

This page https://voteview.com/rollcall/RS0220370 contains this image

[image: image] https://user-images.githubusercontent.com/19828875/121072618-4c9f8580-c786-11eb-8c3f-6756136255fb.png

but the download button saves an image without colors.

[image: image] https://user-images.githubusercontent.com/19828875/121072630-50cba300-c786-11eb-813b-fda0968cfad9.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/voteview/WebVoteView/issues/408, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEKOZOFIMGGCKSC4FUYLQLTRUITBANCNFSM46IH5TSQ .

--

Jeffrey B. Lewis Chair of the Faculty, College of Letters and Science Professor, Department of Political Science University of California, Los Angeles BOX 951472, 4289A Bunche Hall Los Angeles, CA 90095-1472