Skip to content

Instantly share code, notes, and snippets.

@FloChehab
FloChehab / juliaSetVideo.sci
Last active November 10, 2018 11:44
Julia Set video generation with Scilab
// BSD 2-Clause License
//
// Copyright (c) 2018, Florent Chehab
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.
@FloChehab
FloChehab / ada-folium-fixed.py
Created October 21, 2018 11:49
Ada folium fixed
from folium.folium import color_brewer, StepColormap, GeoJson, TopoJson
# We decided to extend folium.Map to tackle the following issues
# retlated to the function choropleth:
# - The color interval might be calculated with some inconsistencies
# (see issue: https://github.com/python-visualization/folium/issues/971)
# - NaN values are not realy handle and will correspond
# to the last "color bin"
# (see issue: https://github.com/python-visualization/folium/issues/996)
# - And also, the colorbar might not be exact and some associated colors might