YaleDHLab / pix-plot

A WebGL viewer for UMAP or TSNE-clustered images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicate, Please Delete - Consider making Category dropdown radio buttons, not checkboxes

MrPaulAlbert opened this issue · comments

Awesome project!

Maybe it is just me, but when I see checkboxes I implicitly think that multiple things might be selected. Perhaps, it would better to represent the Category drop down values with a radio button?

Cheers!

This is a copy of #147 so can probably be closed, but I agree that this should be changed.

Hey @MrPaulAlbert, sorry for the delay in the response. I'm not one of the original creators of PixPlot, I just use it for some projects. In regards to your question about changing the default point sizes, I believe you can change manifests.json in the output folder to have a different minimum and maximum point size.

Thanks so much for your feedback! I've tried working with likely variables in manifests.json with no luck. Bigger question, am I missing something with this project? Is there a user manual out there I just haven't come across? Not complaining, just curious!

Hi folks, I often make adjustments to lines ~94 or so in the manifest.json. I took a look at the values I edited most recently, and they were:

    "point_sizes": {
        "min": 0,
        "grid": 0.01153846153846154,
        "max": 0.01153846153846154,
        "scatter": 0.01153846153846154,
        "initial": 0.01153846153846154,
        "categorical": 0.003076923076923077,
        "geographic": 0.0001282051282051282
    },

You can try something like that -- experiment to see what works best.

@MrPaulAlbert You need to adjust the "initial" value under point sizes to reflect the size you want. The min and max should be inclusive of the "initial" value. In other words, if you set an initial value of 10, you can't set the min and max to be 0 and 1. So, you need to change all three of these values.

In terms of the user manual, I do not think there is anything like that available.

Thanks! Got it working.