Bryan,
the part that was fixed - was that referring to the
hold() issue
or the
fill_alpha() not being able to take in a list to vary its values over the dataset?
Yes, I would love to test this - is there a guide somewhere on this? (running anaconda, so I am assuming I would create another environment)
On Tuesday, January 14, 2014 3:04:06 PM UTC-5, Bryan Van de ven wrote:
Jared,
FYI this is fixed on GH master. If you want to try out GH let me know if you need any help installing, etc. Otherwise this will be in 0.4 released later this month. Thanks for the catch!
Bryan
On Jan 14, 2014, at 11:42 AM, Bryan Van de Ven <bry...@continuum.io> wrote:
> Jared,
>
> Looks like you have found a bug, and that alphas are not treated correctly when there is a vector of them. I have added an issue you can follow:
>
> alpha not treated correctly as a data spec · Issue #271 · bokeh/bokeh · GitHub
>
> This should be fixed int the upcoming 0.4 release.
>
> Bryan
>
> On Jan 14, 2014, at 9:06 AM, Jared Thompson <afo...@gmail.com> wrote:
>
>>
>>
>> On Monday, January 13, 2014 4:25:36 PM UTC-5, Bryan Van de ven wrote:
>> You can definitely do a linear color mapping between fixed points
>>
>> Bryan,
>> I was wondering if you could help me understand how I should be thinking about this for bokeh, because what I am trying is not correct.
>> In the Texas example or my customized U.S.A. map example, it is working as long as I use:
>>
>> colors = ["#F1EEF6", "#D4B9DA", "#C994C7", "#DF65B0", "#DD1C77", "#980043"]
>>
>> for the colors - but as stated the desire was to do a gradient, and I was brainstorming and testing that I should be able to do one color, but change the 'fill_alpha' state by state, that would give me the natural gradient across states for the data set.
>>
>>
>> I modified the fill color to just be black and set the fill_alpha to refer to a list of (for example): [0.15,0.23 ... etc ]
>>
>>
>> county_colors =
>>
>> patches(states_xs, states_ys, fill_color = "#000000", fill_alpha=county_colors,
>> line_color="white", line_width=0.5, title="tests")
>>
>> so the county_colors instead of being a list of colors, it is a list of fill_alpha settings.
>>
>> But the issue is, each region's fill alpha is solid black, instead of varying as it should with the fill_alpha=county_colors and the set of floats in there.
>>
>> Should this approach work, or does bokeh not currently support the fill_alpha varying per region like that?
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
>> To post to this group, send email to bo...@continuum.io.
>> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/10a057b7-5ace-44bc-8f23-1347f9074775%40continuum.io\.
>> For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out\.
>
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/a977cc0e-8914-4d5a-8391-3fa4e2f2e272%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out\.