Skip to main content
  1. Tech/

Importing plotly failed. Interactive plots will not work.

·1 min

Fix:

pip3 install --upgrade plotly

Related

Docker in 5 minutes

·2 mins
I have been using Docker and Kubernetes for several years now but never really took any time to really read about it. There were a lot of gaps in my understanding of how Docker works and what really is possible with it. Just recently my employer started to offer a Udemy subscription, so I took the Hands on Docker course. Here are some of the important things I learned in this course.

Json_error_ctrl_char

·1 min
I was using mcrypt to encrypt json_encoded data. On the other side, mcrypt was able to decrypt data but json_decode was not working. It would throw JSON\_ERROR\_CTRL_CHAR error. However, without mcrypt, json_decode worked flawlessly. After some trial and error, I found that applying trim function after decrypting data would let me use json_decode without any issues.