Conversation
Codecov Report
@@ Coverage Diff @@
## master #51 +/- ##
==========================================
- Coverage 87.98% 87.28% -0.70%
==========================================
Files 6 6
Lines 233 236 +3
==========================================
+ Hits 205 206 +1
- Misses 28 30 +2
Continue to review full report at Codecov.
|
|
Thanks! @lorenzoh let's have a short call to discuss? |
|
Send me an invitation (slack |
|
Sure, this is fine! Was thinking it may break some packages 🙈 so let's unbreak for the time being! |
|
Thanks @johnnychen94 and @lorenzoh for the quick response and fix! After our call, and after thinking about it for a bit, I changed my mind, and think that #50 was in fact a cool new feature, also outside of Pollen.jl, and we should turn it on by default (i.e. reverting this PR). I will add a special case for displaying |
I was trying to switch to iPad to get a camera but then got blocked in the waiting room with neither of you noticed 😂
I'll leave it to you to make the PR when Pluto is ready and then I can merge. |
Oh no!! Very sorry! We didn't notice 😵💫 |
|
Also! I still think that the downscaling done by the HTML show method can be confusing, because it happens secretly, and it is not possible to control this behaviour. I had to read the ImageShow source code to understand why my dogs were being blurred. Perhaps this should only happen when the user asks for it explicitly. E.g. HypertextLiteral.@htl """
<p>Here is the original image:</p>
$(image)
<p>This one will be downscaled if it is too big:</p>
$(ImageShow.preview(image))
"""(I do not think that this should be a global switch like What do you think? |
|
Ready! (You don't need to wait for the Pluto PR to be released, nor vice versa.) |
This is a quick patch to "fix" the Pluto compatibility issue #50 (comment)
Since this may affect potentially too many pluto notebooks, I decide to make it an opt-in feature. Eventually this will be opt-out when things get better supported. @lorenzoh Will this be okay to you?
cc: @fonsp @lorenzh